Closed mbotsch closed 1 year ago
Please post the entire deck. Also, which resource pack?
I am seeing this:
``` {.cpp decker="cool"}
some.code();
```html
<div class="media">
<figure class="code">
<div class="sourceCode" id="cb1" data-decker="cool">
<pre
class="sourceCode cpp"
><code class="sourceCode cpp"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>some<span class="op">.</span>code<span class="op">();</span></span></code></pre>
</div>
</figure>
</div>
The error only shows up when the code block has a caption:
``` {.cpp decker="cool"}
some.code();
Caption: Only fails with caption.
leads to
It seems that some filter is running twice, since also the HTML structure is doubled.
Or with highlightjs: true
:
<figure class="code">
<pre class="cpp" data-decker="cool">
<code>some.code();</code>
</pre>
</figure>
Works now, thanks
Key-value-pairs (e.g. decker=cool) get wrong prefix (data-data-decker=cool)