rehamaltamimi / gwtwiki

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

Use "span" tag for header anchors as in Mediawiki should be optional #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
r1962 changed header anchor from something like   
<a id="Play_of_the_game" name="Play_of_the_game"></a><h2>Play of the 
game</h2><p>  
to something like   
<h2><span class="mw-headline" id="Play_of_the_game">Play of the 
game</span></h2>   
I'm using a Swing JPanel to display html, and jpanel.scrollToReference("id") 
only works <a> elements.
I can't override method appendHead in my customModel because it need to access 
addToTableOfContent, which is private.
An option to choose between render method, or public access in 
addToTableOfContent

Original issue reported on code.google.com by pablogrisafi1975@gmail.com on 2 Sep 2010 at 8:44

GoogleCodeExporter commented 8 years ago

Original comment by axelclk@gmail.com on 4 Sep 2010 at 9:57

GoogleCodeExporter commented 8 years ago
Made addToTableOfContent() method protected.

http://code.google.com/p/gwtwiki/source/detail?r=2201

Original comment by axelclk@gmail.com on 4 Sep 2010 at 9:57