File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -252,9 +252,9 @@ public static function create_toc_with_dom($content)
252252
253253 if ($ level > $ last_level )
254254 // add class
255- $ toc .= '<ol > ' ;
255+ $ toc .= '<ul > ' ;
256256 else {
257- $ toc .= str_repeat ('</li></ol > ' , $ last_level - $ level );
257+ $ toc .= str_repeat ('</li></ul > ' , $ last_level - $ level );
258258 $ toc .= '</li> ' ;
259259 }
260260 if ($ level >= $ last_level ) {
@@ -267,7 +267,7 @@ public static function create_toc_with_dom($content)
267267 $ last_level = $ level ;
268268 }
269269
270- $ toc .= str_repeat ('</li></ol > ' , $ last_level );
270+ $ toc .= str_repeat ('</li></ul > ' , $ last_level );
271271 $ toc .= '</div></div> ' ;
272272
273273 return $ toc . "\n\n\n\n<!- toc end -> \n\n<hr> " . $ html ->save ();
Original file line number Diff line number Diff line change 2323 font-size : 9pt
2424}
2525
26- .toc-index ol {
26+ .toc-index ul {
2727 padding : 0 ;
2828 margin : 0 ;
2929 font-size : 100% ;
You can’t perform that action at this time.
0 commit comments