owenh000/asciidoctor-multipage

Custom roles in headers generate broken TOC

Closed this issue · 1 comments

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>

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