Tags:
create new tag
, view all tags

Question

TWiki automatically inserts a new paragraph when it encounters a blank line. Is there any way to keep this from happening for a specific topic? It's nice for generating clean looking pages quickly, but if a page is mostly html, the whitespace is nice for readability of the html.

Thanks! .

  • TWiki version:
  • Web server:
  • Server OS:
  • Web browser:
  • Client OS:

-- MichaelMathis - 04 Oct 2002

Answer

Use comments to introduce gaps into your HTML ie:

<!--
This block of code does xxxx
-->

Here's an example (you'll need to use Edit or view it in raw mode* to see the comment):

This text is on two separate lines with a comment line in the middle.

* Just add ?raw=on to the URL above!

-- RichardLewis - 09 Oct 2002

Topic revision: r2 - 2002-10-09 - RichardLewis
 
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.