Item13605: %CODE%-blocks on one topic get rendered as plain verbatim block

Priority: Normal
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: DpSyntaxHighlighterPlugin
Branches: master
Reported By: RainerThierfelder
Waiting For:
Last Change By: GeorgeClark
I still (see also Tasks.Item13373) got problems with the DpSyntaxHighlighterPlugin. After upgrading from version 3.0 (which was a fix for Tasks.Item12922) even the first %CODE%-Block gets redered like a plain verbatim-block.

I'll attach two screenshots, one how the DpSyntaxHighlighterPlugin looks in our foswiki installation (This site is running Foswiki version v1.1.9, Release Foswiki-1.1.9, Plugin API version 2.2), where the plugin is enabled and a shot for comparison from, where the plugin is disabled.

  • Plugin enabled but not working correctly:
    foswiki SyntaxHighlighter.png
  • Plugin not enabled:
    foswiki SyntaxHighlighter.png

Please let me know, if I can provide more information.

-- RainerThierfelder - 04 Aug 2015

There was a typo in shInit.js. I just fixed it.

-- RenMao - 29 Aug 2015

RenMao, I'm reopening this task. Thanks for taking the time to fix this, but changes must be checked into github to become permanent. The next time anyone maintains this extension, your changes will be lost. The way to fix extensions is to either request developer access, or use a github account to "Fork" the extension repository and then issue a pull request for a developer with commit rights.

-- GeorgeClark - 29 Aug 2015

ItemTemplate edit

Summary %CODE%-blocks on one topic get rendered as plain verbatim block
ReportedBy RainerThierfelder
Codebase trunk
SVN Range
AppliesTo Extension
Component DpSyntaxHighlighterPlugin
Priority Normal
CurrentState Closed
Checkins DpSyntaxHighlighterPlugin:5c5c08520fce
ReleasedIn n/a
CheckinsOnBranches master
masterCheckins DpSyntaxHighlighterPlugin:5c5c08520fce
I Attachment Action Size Date Who Comment
foswiki_SyntaxHighlighter.pngpng foswiki_SyntaxHighlighter.png manage 125 K 04 Aug 2015 - 05:57 RainerThierfelder Plugin enabled but not working correctly
foswiki_SyntaxHighlighter_disabled.pngpng foswiki_SyntaxHighlighter_disabled.png manage 143 K 04 Aug 2015 - 05:57 RainerThierfelder Plugin not enabled
Topic revision: r5 - 30 Aug 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