slachiewicz opened a new pull request, #1130: URL: https://github.com/apache/maven-doxia/pull/1130
A `<ul>` nested inside an `<ol>` reported its `<li>` elements as `numberedListItem`, because `Xhtml5BaseParser` only tracked the depth of ordered lists. It now tracks the open lists and emits the item event of the innermost one, for the XDoc, XHTML5 and XHTML 1 parsers alike. The validator in #1126 reported it for `mojo-api-specification.xml` and `i18n.xml` in `doxia-test-docs`. Verified: both documents through `Xhtml5BaseSink` → byte-identical HTML (that sink writes `<li>` for both item types); the validator reports nothing on them with this change. --- To make clear that you license your contribution under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) check one of the following: - [x] I hereby declare this contribution to be licensed under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) - [x] I hereby declare that I have filed an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
