Tags:
create new tag
, view all tags

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 (&lt;) 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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2004-07-23 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.