mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
Table_of_contents: Deprecate id='toctitle' in favor of class='toctitle'
This commit is contained in:
@@ -78,7 +78,7 @@ class Xoh_toc_htmlr implements gplx.core.brys.Bfr_arg {
|
||||
private final Bry_fmt
|
||||
fmtr_div = Bry_fmt.Auto(String_.Concat_lines_nl_skip_last
|
||||
( "<div~{toc}>"
|
||||
, " <div id=\"toctitle\">"
|
||||
, " <div id=\"toctitle\" class=\"toctitle\">"
|
||||
, " <h2>~{contents_title}</h2>"
|
||||
, " </div>"
|
||||
, "~{itms}</div>"
|
||||
|
||||
@@ -144,7 +144,7 @@ public class Xoh_toc_htmlr__basic__tst {
|
||||
fxt.Init__add(2, "c");
|
||||
fxt.Test__html_div
|
||||
( "<div id=\"toc\" class=\"toc\">"
|
||||
, " <div id=\"toctitle\">"
|
||||
, " <div id=\"toctitle\" class=\"toctitle\">"
|
||||
, " <h2>Table of contents</h2>"
|
||||
, " </div>"
|
||||
, " <ul>"
|
||||
|
||||
@@ -51,7 +51,7 @@ public class Xowe_hdr_bldr_fxt {
|
||||
public String toc_tbl(boolean nl, String... ary) {
|
||||
return String_.Concat_lines_nl_skip_last
|
||||
( "<div id=\"toc\" class=\"toc\">"
|
||||
, " <div id=\"toctitle\">"
|
||||
, " <div id=\"toctitle\" class=\"toctitle\">"
|
||||
, " <h2>Contents</h2>"
|
||||
, " </div>"
|
||||
, String_.Concat_lines_nl_skip_last(ary)
|
||||
|
||||
Reference in New Issue
Block a user