Make highlightCodeBlock render enclosing div tags on separate lines
This commit is contained in:
parent
53b61abfd0
commit
b1a03e2d27
6 changed files with 18 additions and 8 deletions
4
org/testdata/captions.html
vendored
4
org/testdata/captions.html
vendored
|
@ -2,7 +2,9 @@
|
|||
Anything can be captioned. Also captions are not real, correct captions but just a paragraph below the element (bothe wrapped into a div)
|
||||
</p>
|
||||
<div class="captioned">
|
||||
<div class="highlight"><pre>echo "i have a caption!"</pre></div>
|
||||
<div class="highlight">
|
||||
<pre>echo "i have a caption!"</pre>
|
||||
</div>
|
||||
<p class="caption">
|
||||
captioned soure block
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue