1
0
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:
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)