Bug: Premature ending of code block
Something in the following line stops it from being rendered correctly. The example uses the html tag
code but the results are the same using '=' and probably any other tag.
Test case
Verbatim:
<code> perl -pi~~~ -e 'NR <= 10 && s/nobody:/system:/ ' <nop>*/*,v </code>
Output:
perl -pi~~~ -e 'NR <= 10 && s/nobody:/system:/ ' */*,v
- I fixed this example, the
< char needs to be escaped -- PTh
Environment
| TWiki version: |
here on twiki.org |
--
MattWilkie - 09 Apr 2003
Follow up
hmmm, now it seems to work?
Anyway, a similar problem popped up in
MailToTWikiAddOnDev. The follwing line causes all follwing text to remain bold.
Verbatim:
*Can't call method "path" on an undefined value at bin/mailtotwiki line 395, <STDIN> line 177.*
Output:
Can't call method "path" on an undefined value at bin/mailtotwiki line 395, line 177.
...with a following line which should be normal text not bold. Replacing at least one of the angle brackets with it's html entity tag (<) is a workaround.
--
MattWilkie - 18 Apr 2003
I set this to rejected because of it is not allowed to use
< characters unescaped. Above example did not render correcly because the browser did not see the closing
</code> tag due to the unescaped
<= chars.
--
PeterThoeny - 23 Jul 2004
Fix record