Tags:
create new tag
, view all tags
I am using the Twiki Beta date 2001-07-20 + CVS updates.

I would like to report the following formatting bug:

As I understand it, the verbatim tag should prevent any content interpretation. I am trying to display code excerpts which include C multi-line defines. In C you need the backslash at the end of the line to do this.

However, if I use this in TWiki (within verbatim tags), the backslash is not displayed, futhermore this causes any multiline input to be displayed on one line.

Example:

This is the first line (there is a backslash, but you won't see it). \
This is the second line (but it is concatenated).

For comparison, I have tried this with plain HTML inside the pre-tag and this works without problems.

Could the TWiki behaviour please be fixed. Thanks.

-- GuidoOstkamp - 29 Jul 2001

This is a duplicate of VerbatimGobblesBackslashAtEndOfLine

-- PeterThoeny - 17 Feb 2002

Topic revision: r2 - 2002-02-17 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.