PiRSquared17 / wikiwym

Automatically exported from code.google.com/p/wikiwym
0 stars 0 forks source link

ToC only handles =H=-style headers, not HTML H tags. #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The ToC is built as part of the parsing of wiki-style header tags, e.g. =h1= 
or ===h3===. All raw HTML is passed through as-is without looking at its 
content, so any headers added via HTML header tags is not considered. 
Whether or not this is a real bug is arguable, but it probably is. It would 
be simpler to build the ToC using JavaScript after the page is created, but 
that would tie the parser to browser environments, which i do not want to 
do.

Original issue reported on code.google.com by sgbeal@googlemail.com on 26 Apr 2010 at 2:54

GoogleCodeExporter commented 9 years ago
i just found out, quite by accident, that GoCo also only considers 
wiki-marked-up 
headers, and not Hn tags, when building the ToC, so i'm going to close this as 
won't-
fix.

Original comment by sgbeal@googlemail.com on 28 Apr 2010 at 4:15