Closed (fixed)
Project:
Wiki
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
16 Aug 2004 at 12:55 UTC
Updated:
4 Jan 2011 at 04:13 UTC
When a text block is indented, it is considered as a code snippet and displayed in monospace font. That's fine, however, wiki formatting rules are still applied to this block. This can be a problem if the block contains say square brackets, as they will be considered as links and the output will be garbled.
Possible solutions:
* Do not apply wiki formatting rules to indented code blocks.
* Provide a formating rule so that specific chars can be escaped. The tilde (~) that is used in phpWiki does not seem to work in this wiki.
Comments
Comment #1
alexr-1 commentedFollowing up on my own previous post (posted before I had a login on this site): to protect text between square brackets against automated linking, just duplicate the opening bracket. Example: [[this is protected].
Comment #2
veridicus commentedFixed in Drupal 4.5 version and CVS HEAD.
Comment #3
veridicus commented