NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item8176: Remove new lines in output, so it can be used correctly in numbered list

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Extension SyntaxHighlightingPlugin Main.AndrewJones
Received this bug report a while back by email from Benoit DECHERF:

there is a problem in the plugin when it is used in a list:
   1 list element number 1
      %CODE{lang="html"}%
   <test>
     <test1>toto</test1>
   </test>
      %ENDCODE%
   1 list element number 2

The second element in the numbered list should be 2. But In the plugin code, you make some "\n", and this make the list reinitialized.

-- AndrewJones - 07 Jun 2009

 

ItemTemplate edit

Summary Remove new lines in output, so it can be used correctly in numbered list
ReportedBy Foswiki:Main.AndrewJones
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component SyntaxHighlightingPlugin
Priority Normal
CurrentState Closed
WaitingFor AndrewJones
Checkins Foswikirev:4052
ReleasedIn
Topic revision: r3 - 07 Jun 2009 - 10:57:49 - AndrewJones
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads