suryakant-source commented on issue #13675:
URL: https://github.com/apache/maven/issues/13675#issuecomment-6340029988
I'd like to work on this. Root cause: the description uses javadoc-style
`{@code <activeProfiles>}` / `{@code <activation>}`. After the .mdo
XML parser decodes the entities, the description string contains literal
`<activeProfiles>` / `<activation>`, and Modello's XdocGenerator (`rewrite()`
-> javadoc parser -> Jsoup) emits them as real nested elements
(`<code><activation></activation></code>`), which then get dropped when the
page is rendered - leaving an empty `<code></code>`. I reproduced this locally
with modello-plugin-xdoc's exact `rewrite()` code path (javadoc-parser 0.3.1 +
jsoup 1.23.2): `{@code <activation>}` ->
`<code><activation></activation></code>` (broken), while the raw-markup form
used elsewhere in the same file, `<code><activation></code>`, ->
`<code><activation></code>` (correct). I'll open a PR switching the
affected descriptions to the raw-markup form, which also renders correctly in
the generated javadoc.
--
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]