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

alexr-1’s picture

Following 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].

veridicus’s picture

Fixed in Drupal 4.5 version and CVS HEAD.

veridicus’s picture