All tags are put on a line by themselves to help with visual diffing. Apparently this extra cosmetic whitespace causes problems inside p tags for ppl who want to use `white-space: pre`. Not much hurt for visual diffing in removing cosmetic whitespace for just p tags and can't think of anything that would break because of this right now. So let's do it and wait for things to break.
27 lines
728 B
HTML
27 lines
728 B
HTML
<figure>
|
|
<div class="src src-sh a b c d" id="it">
|
|
<div class="highlight">
|
|
<pre>echo "a bash source block with custom html attributes"
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
<figcaption>
|
|
and <span style="text-decoration: underline;">multiple</span> lines of <strong>captions</strong>!
|
|
</figcaption>
|
|
</figure>
|
|
<p>
|
|
and an image with custom html attributes and a caption</p>
|
|
<figure>
|
|
<img src="https://placekitten.com/200/200#.png" alt="https://placekitten.com/200/200#.png" title="https://placekitten.com/200/200#.png" style="height: 100%; border: 10px solid black;" id="kittens"/>
|
|
<figcaption>
|
|
kittens!
|
|
</figcaption>
|
|
</figure>
|
|
<p>named paragraph</p>
|
|
<div class="src src-text">
|
|
<div class="highlight">
|
|
<pre>
|
|
named block
|
|
</pre>
|
|
</div>
|
|
</div>
|