Tags:
create new tag
view all tags

Question

I have several tables written in twiki shorthand, but in one cell I am attempting to place HTML. To preserve the "|" generated table, I am using <pre> tags to escape and encapsulate the quick HTML tag for an image. I have discovered that by using <pre>, it breaks %TOC%. While all following !---++ syntax after the <pre> tags still displays the proper <hX> equivelant, none of those items are properly added to the %TOC% above.

Is there another syntax that I should be using to get around this? Is this a bug with %TOC%? I know I can always revert to html-based table tags but would rather avoid it if possible.

Environment

TWiki version: TWiki Release 02-Sep-2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian GNU/Linux
Web server: Apache/1.3.33 Ben-SSL/1.55
Perl version: mod_perl/1.29
Client OS: Windows XP SP2
Web Browser: Mozilla 1.7.12
Categories: Missing functionality, Documentation

-- SeanRaymond - 12 Oct 2005

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

The pre and verbatim tags should be used only on a line by itself.

To escape "|" pipe in a TWiki table write &#124;.

Example:

Table cell A Cell B with | symbol

-- PeterThoeny - 14 Nov 2005

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