Tags:
create new tag
, view all tags

Question

Using the WYSIWYG editor destroys the leading spaces in my published source code. I have enclosed the source code in html-tags like this:

<BLOCKQUOTE>
<VERBATIM>
if( editor = used ) {
    destroyLeadingSpaces();
}
</VERBATIM>
</BLOCKQUOTE>

How can I fix this problem?

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS: Windows XP
Web Browser: IE6
Categories:  

-- RinkeColen - 01 Apr 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

VERBATIM must always be written in lowercase. If you replace VERBATIM by verbatim in your example, it works. HTML tags like blockquote are case-insensitive, but non-HTML, twiki specific tags (nop, verbatim, ... must be lower case)

-- ColasNahaboo - 01 Apr 2008

 
Change status to:
Topic revision: r2 - 2008-04-01 - ColasNahaboo
 
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.