Item12638: links and WikiWords in headings disrupt the ECP markup

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: EditChapterPlugin
Branches: trunk
Reported By: GuilainCabannes
Waiting For:
Last Change By: MichaelDaum
Test:

   * Set NOAUTOLINK = off

---++ Section 1

---++ Section 2 Extensions.EditChapterPlugin 

---++ Section 3 WebHome

<noautolink>
---++ Section 4 WebHome
</noautolink>

WikiWords are expanded inside HTML attributes for some reason.

Hotfix:

--- lib/Foswiki/Plugins/EditChapterPlugin/Core.pm       (revision 17047)
+++ lib/Foswiki/Plugins/EditChapterPlugin/Core.pm       (working copy)
@@ -256,7 +256,7 @@
     my $anchor = '<a name="'.$id.'"></a>';
 
     # format
-    $result = $this->{editLabelFormat};
+    $result = '<noautolink>'.$this->{editLabelFormat}.'</noautolink>';

-- MichaelDaum - 06 Nov 2013

Better fix released in ECP-4.61

-- MichaelDaum - 06 Nov 2013
Topic revision: r5 - 06 Nov 2013, MichaelDaum
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