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 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.

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:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-04-01 - ColasNahaboo
 
  • 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.