mirror of
https://github.com/gnosygnu/xowa.git
synced 2024-10-27 20:34:16 +00:00
Table_of_contents: Deprecate id='toctitle' in favor of class='toctitle'
This commit is contained in:
parent
abe79be6cb
commit
31bc573a29
@ -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)
|
||||
|
@ -66,7 +66,7 @@ public class Xop_under_lxr_tst {
|
||||
( "<p>a"
|
||||
, "</p>"
|
||||
, "<div id=\"toc\" class=\"toc\">"
|
||||
, " <div id=\"toctitle\">"
|
||||
, " <div id=\"toctitle\" class=\"toctitle\">"
|
||||
, " <h2>Contents</h2>"
|
||||
, " </div>"
|
||||
, " <ul>"
|
||||
@ -199,7 +199,7 @@ public class Xop_under_lxr_tst {
|
||||
, "{{Notoc}}"
|
||||
), String_.Concat_lines_nl
|
||||
( "<div id=\"toc\" class=\"toc\">"
|
||||
, " <div id=\"toctitle\">"
|
||||
, " <div id=\"toctitle\" class=\"toctitle\">"
|
||||
, " <h2>Contents</h2>"
|
||||
, " </div>"
|
||||
, " <ul>"
|
||||
|
@ -29,7 +29,7 @@ public class Pgbnr_func_tst {
|
||||
, " </div>"
|
||||
, " </div>"
|
||||
, " <div class='wpb-topbanner-toc'><div class='wpb-banner-toc'><div>"
|
||||
, " <div id=\"toctitle\">"
|
||||
, " <div id=\"toctitle\" class=\"toctitle\">"
|
||||
, " <h2>Contents</h2>"
|
||||
, " </div>"
|
||||
, "</div>"
|
||||
|
@ -32,7 +32,7 @@ class Wdata_fmtr__toc_div implements gplx.core.brys.Bfr_arg {
|
||||
private final Bry_fmtr fmtr = Bry_fmtr.new_(String_.Concat_lines_nl_skip_last
|
||||
( ""
|
||||
, " <div id='toc' class='toc wb-toc'>"
|
||||
, " <div id='toctitle'>"
|
||||
, " <div id='toctitle' class='toctitle'>"
|
||||
, " <h2>~{hdr}</h2>"
|
||||
, " </div>"
|
||||
, " <ul>~{itms}"
|
||||
|
Loading…
Reference in New Issue
Block a user