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

--id-prefix does not work on all ids #5650

Closed
pesca opened this issue Jul 19, 2019 · 0 comments
Closed

--id-prefix does not work on all ids #5650

pesca opened this issue Jul 19, 2019 · 0 comments

Comments

@pesca
Copy link
Contributor

pesca commented Jul 19, 2019

The id of the <a> element which contains a code block line is not prefixed.

Version:

$ pandoc --version
pandoc 2.1.2

Reproduce:

echo '```haskell
id :: a -> a
```' | pandoc --id-prefix='p'

Output:

<div class="sourceCode" id="pcb1"><pre class="sourceCode haskell"><code class="sourceCode haskell"><a class="sourceLine" id="cb1-1" data-line-number="1">id<span class="ot"> ::</span> a <span class="ot">-&gt;</span> a</a></code></pre></div>

Expected:

<div class="sourceCode" id="pcb1"><pre class="sourceCode haskell"><code class="sourceCode haskell"><a class="sourceLine" id="pcb1-1" data-line-number="1">id<span class="ot"> ::</span> a <span class="ot">-&gt;</span> a</a></code></pre></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants