bytesparadise / libasciidoc

A Golang library for processing Asciidoc files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Section headers do not render inline formatting

pjanx opened this issue · comments

= A
:toc:

== `B`
C
<div id="toc" class="toc">
<div id="toctitle">Table of Contents</div>
<ul class="sectlevel1">
<li><a href="#_b">`B`</a></li>
</ul>
</div>
<div class="sect1">
<h2 id="_b">`B`</h2>
<div class="sectionbody">
<div class="paragraph">
<p>C</p>
</div>
</div>
</div>

Asciidoctor

<div id="toc" class="toc">
<div id="toctitle">Table of Contents</div>
<ul class="sectlevel1">
<li><a href="#_b"><code>B</code></a></li>
</ul>
</div>
<div class="sect1">
<h2 id="_b"><code>B</code></h2>
<div class="sectionbody">
<div class="paragraph">
<p>C</p>
</div>
</div>
</div>

This is a regression. Or at least I think so, not so sure anymore about section headers alone.

yeah, not sure either, but I will take a look!