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

Code snippets inside lists are not rendered properly #84

Open
NAR opened this issue Aug 11, 2017 · 0 comments
Open

Code snippets inside lists are not rendered properly #84

NAR opened this issue Aug 11, 2017 · 0 comments

Comments

@NAR
Copy link

NAR commented Aug 11, 2017

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

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

1 participant