I have modified the textrite blosxom plugin to correct the behavior with <pre> blocks (so now the preceding paragraph is closed before and reopened after the block). It was a matter of adding two lines in the (sed) format $text=~ s/_text to replace_/_replacement text_/g; Easy! A similar rule also allows to set italics by using underscores, but this is not enabled now because underscores might be needed in code snippets. It's better to use <i>. |
textrite-pre
(/webtricks)
2003-10-31, 13:22
[edit]