obsidian-advanced-slides
obsidian-advanced-slides copied to clipboard
[Bug report] <p> around image "absorbs" any further content
Plugin version 1.72 in Obsidian 0.14.6
Expected behavior: a separate <p> element with class "footer" after the image element
Markdown source:
# Title
![[myimage.jpg]]
Image credit: J. Smith <!-- element class="footer" -->
Current behavior: the footnote text and its class gets "absorbed" into the <p> element containing the image itself, and so styling it separately is impossible.
<h2 id="title">Title</h2>
<p style="line-height: 0" class="footer"><img src="/presentations/img/myimage.jpg" alt=""></p>
Image credit: J. Smith
<!-- -->
Update: this also happens with <ul>. Any paragraph following a list gets "absorbed" into it.
yeah this is behavior is ugly.. here obsidian and reveal did workarounds on rendering which causes this issue. In the future i have to rewrite the whole image handling. Dont expect a fix in the near future
fixed since 1.17 please retest