attipaci commented on issue #1020: URL: https://github.com/apache/maven-doxia/issues/1020#issuecomment-3589088776
Also there is something weird going on with the `<section>` `</section>` tags. I would expect something like: ```html <p><a name="using-name"></p></a><section><a id="Anchor_with_name"></a> <h2>Anchor with name</h2></section> <p><a id="using-id"></a></p><section><a id="Anchor_with_id"></a> <h2>Anchor with id</h2></section> ``` And ideally, the anchor should not be enclosed in `<p>` `</p>` either, so ideally you should expect: ```html <a name="using-name"></a><section><a id="Anchor_with_name"></a> <h2>Anchor with name</h2></section> <a id="using-id"></p><section><a id="Anchor_with_id"></a> <h2>Anchor with id</h2></section> ``` And, as you suggest, `id` can be substituted instead of `name` in the output, if you want, but then it would be: ```html <a id="using-name"></a><section><a id="Anchor_with_name"></a> <h2>Anchor with name</h2></section> <a id="using-id"></p><section><a id="Anchor_with_id"></a> <h2>Anchor with id</h2></section> ``` All 3 above are functional, but the current doxia output is not. -- 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]
