rehamaltamimi / gwtwiki

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

Contents output should use <ol> and not <ul> #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output?
<div id="toctitle">
<h2>Contents</h2>
</div>
<ol>
<ol>
<li class="toclevel-1"><a href="#History">History</a>
</li>
<li class="toclevel-1"><a href="#Comparisons">Comparisons</a>
</li>
</ol>
</ol></td></tr></table><hr/>

What do you see instead?
<div id="toctitle">
<h2>Contents</h2>
</div>
<ul>
<ul>
<li class="toclevel-1"><a href="#History">History</a>
</li>
<li class="toclevel-1"><a href="#Comparisons">Comparisons</a>
</li>
</ul>
</ul></td></tr></table><hr/>

What version of the product are you using? On what operating system?
bliki-core-3.0.13, Windows 

Original issue reported on code.google.com by patrice%...@gtempaccount.com on 10 Aug 2009 at 3:21

GoogleCodeExporter commented 8 years ago
If I look for example in the table of content from this wikipedia article:
  http://en.wikipedia.org/wiki/Tom_Hanks
they use also <ul> tags for the TOC..

If you would like to have another behaviour, you can copy and modify this class:
  info.bliki.wiki.tags.TableOfContentTag
to your own class.

And override the 
  info.bliki.wiki.model.AbstractWikiModel#createTableOfContent() 
method.

Original comment by axelclk@gmail.com on 10 Aug 2009 at 9:05

GoogleCodeExporter commented 8 years ago

Original comment by axelclk@gmail.com on 10 Aug 2009 at 9:05

GoogleCodeExporter commented 8 years ago

Original comment by axelclk@gmail.com on 26 Aug 2009 at 4:53