1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2024-09-28 14:30:51 +00:00

Table_of_contents: Deprecate id='toctitle' in favor of class='toctitle'

This commit is contained in:
gnosygnu 2017-06-17 19:18:39 -04:00
parent abe79be6cb
commit 31bc573a29
6 changed files with 7 additions and 7 deletions

View File

@ -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>"

View File

@ -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>"

View File

@ -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)

View File

@ -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>"

View File

@ -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>"

View File

@ -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}"