riptano / docs-ui

The UI and theme for DataStax Docs.
https://riptano.github.io/docs-ui/
Mozilla Public License 2.0
2 stars 0 forks source link

hrefs in section titles are rendered in the wrong location #144

Open eric-schneider opened 1 week ago

eric-schneider commented 1 week ago

When a section title contains an href:

== https://github.com/stargate/data-api/tree/v1.0.13[v1.0.13] (2024-07-01)

The generated HTML looks correct:

<h2 id="v1-0-13-2024-07-01"><a class="anchor" href="#v1-0-13-2024-07-01"></a><a class="link" href="#v1-0-13-2024-07-01"><a href="https://github.com/stargate/data-api/tree/v1.0.13">v1.0.13</a> (2024-07-01)</a></h2>

However, the href gets bumped to the end of the section title:

image