You are here: Foswiki>Tasks Web>Item1637 (05 Jan 2015, GeorgeClark)Edit Attach

Item1637: Identation pb on SyntaxHighlightingPlugin

pencil
Priority: Enhancement
Current State: New
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: SyntaxHighlightingPlugin
Branches:
Reported By: BenoitDecherf
Waiting For:
Last Change By: GeorgeClark
there is a problem in SyntaxHighlighting plugin when it is used in a list:
  1. list element number 1 %CODE{lang="html"}% toto %ENDCODE%
  2. 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 liste reinitialized. So should it be possible to remove the "\n" on lib/TWiki/Plugins/SyntaxHighlightingPlugin.pm (line 154-156) to make it works (Or find the way to add identation) ?

ItemTemplate edit

Summary Identation pb on SyntaxHighlightingPlugin
ReportedBy BenoitDecherf
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component SyntaxHighlightingPlugin
Priority Enhancement
CurrentState New
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r2 - 05 Jan 2015, GeorgeClark
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