Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom roles in headers generate broken TOC #7

Closed
jasal82 opened this issue Feb 23, 2021 · 1 comment
Closed

Custom roles in headers generate broken TOC #7

jasal82 opened this issue Feb 23, 2021 · 1 comment

Comments

@jasal82
Copy link

jasal82 commented Feb 23, 2021

I have custom roles in my headers, something like

== [.breadcrumb]##InternalTest.##[.api-function]##getHelloWorld()

The corresponding <span> elements are generated but they seem to be escaped in the TOC because I get this in the output:

<li><a href="API_Crown_InternalTest.html#API_Function_InternalTest.getHelloWorld">&lt;span class="breadcrumb"&gt;InternalTest.&lt;/span&gt;&lt;span class="api-function"&gt;getHelloWorld()&lt;/span&gt;</a>
</li>
@owenh000
Copy link
Owner

Thanks for the report! This is fixed by commit b7af15c and the fix is included in v0.0.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants