Closed evanlenz closed 2 years ago
I will submit a proposed fix that forces <h7>
and higher to be rewritten as <h6>
. That way, the HTML will be valid, and the CSS won't have to change.
@glenfe Do you know if this got integrated into the build? When should we see the effects of it in the Boost release? It doesn't appear to have taken effect in the Boost 1.79.0 release. The same issue is reflected here: https://www.boost.org/doc/libs/1_79_0/libs/json/doc/html/json/ref/boost__json__value/swap/overload1.html
Any ideas?
@evanlenz I forgot to merge it to master for 1.79.0. I'll make sure it's merged for 1.80.0
Example: https://www.boost.org/doc/libs/1_78_0/libs/json/doc/html/json/ref/boost__json__value/swap/overload1.html
The headings (Synopsis, Description, Complexity, Exception Safety, and Parameters) all are displayed with link styling (blue text, underline-on-hover, etc.). This is because boostbook.css only handles the valid HTML heading elements (up to H6). The imported DocBook stylesheets, however, can sometimes output H7.