Skip to content

Code snippets inside lists are not rendered properly #84

Description

@NAR

Hello!

I have this minimal example (sorry, can't write markdown example properly here):
minimal2

The first code snippet is rendered nicely, but the second one is not (see also the attached PDF output).
minimal2_pdf

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?

minimal2.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions