Fix caption munging for captions with html

This commit is contained in:
Hadley Wickham
2022-11-18 10:46:15 -06:00
parent 89a854b7d0
commit 5895db09cd
9 changed files with 21 additions and 21 deletions

View File

@@ -342,7 +342,7 @@ str(l$a)
<div class="cell-output-display">
<figure id="fig-pepper-2"><p><img src="images/pepper-1.jpg" style="width:25.0%" alt="A photo of the glass pepper shaker containing just one packet of pepper."/></p>
<figcaption>pepper[1]<code>pepper[1]</code></figcaption>
<figcaption><code>pepper[1]</code></figcaption>
</figure>
</div>
</div>
@@ -350,7 +350,7 @@ str(l$a)
<div class="cell-output-display">
<figure id="fig-pepper-3"><p><img src="images/pepper-2.jpg" style="width:25.0%" alt="A photo of single packet of pepper."/></p>
<figcaption>pepper[[1]]<code>pepper[[1]]</code></figcaption>
<figcaption><code>pepper[[1]]</code></figcaption>
</figure>
</div>
</div>