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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2002-10-09 - RichardLewis
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.