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

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release:
Applies To: Extension
Component: SyntaxHighlightingPlugin
Branches:
Reported By: Foswiki:Main.AndrewJones
Waiting For: Main.AndrewJones
Last Change By: 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 SyntaxHighlightingPlugin:32fb404c9eab
ReleasedIn
Topic revision: r3 - 07 Jun 2009, AndrewJones
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy