gimli
gimli copied to clipboard
Code snippets inside lists are not rendered properly
Hello!
I have this minimal example (sorry, can't write markdown example properly here):
The first code snippet is rendered nicely, but the second one is not (see also the attached PDF output).
The problem seems to be with the generated HTML. The output from -debug option:
"/usr/local/bin/wkhtmltopdf" -q - "/tmp/gimli/minimal2.pdf"
<table class="CodeRay"><tr>
<td class="line-numbers"><pre><a href="#n1" name="n1" id="n1">1</a>
<a href="#n2" name="n2" id="n2">2</a>
<a href="#n3" name="n3" id="n3">3</a>
</pre></td>
<td class="code"><pre>{set, appl, param,
[{host, "localhost"},
{port, 8125}]}.</pre></td>
</tr></table>
<ul>
<li><p><code>appl/param</code>: Configures the connection to a remote server.</p>
<p>Next paragraph.</p>
<p>Example:</p>
<p><code>erlang
{set, appl, param,
[{host, "localhost"},
{port, 8125}]}.
</code></p></li>
</ul>
Do you know why?