slachiewicz opened a new pull request, #1132: URL: https://github.com/apache/maven-doxia/pull/1132
A `<source>` inside another `<source>` in an FML answer, for example a POM snippet written without CDATA that contains `<source>1.5</source>`, opened a second verbatim block and closed the outer one early, so the HTML had a `<pre>` inside a `<pre>` and the rest of the snippet outside it. `FmlContentParser` now counts open `source` elements and only the outermost one starts and ends the verbatim block; the inner element's text stays in it. The validator in #1126 reported it for `general.fml` in `doxia-test-docs`. `XdocParser` has the same pattern; it gets its own PR. Verified: `general.fml` through `Xhtml5BaseSink` → the `Compiling-J2SE-5` answer is one `<pre><code>` block (master: a nested `<pre>`), the rest of the page unchanged. --- 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]
