Item11137: breaks %TOC%
Priority: Normal
Current State: Duplicate
Released In: n/a
Target Release: n/a
Applies To: Extension
Component:
Branches:
when adding %TOC% it shows (besides the name of the chapter) also text from the <a class=" ...">
E.g. for chapter Aromi in RestaurantsPrague it shows "Aromi topic:'RestaurantsPrague', from:'1', to:'1'}"
I tried a quickfix in lib/Foswiki/Macros/TOC.pm line 199
# Prevent manual links
$text =~ s/<nop>//gi; #quickfix?
$text =~ s/<[\/]?a\b[^>]*>//gi;
it works, not sure if its correct, nor I'm not sure if the problem isn't on my server.
--
VasekOpekar - 19 Sep 2011
actualy its related to
EditChapterPlugin which changes the chapters headings rendering and TOC then has troubles to handle it
--
VasekOpekar - 19 Sep 2011
A better fix is available at
Item11045
--
MichaelDaum - 20 Sep 2011