hoedown/test/Tests/Images.html
Jeremy Sharpe b1402b50f1 Make image parsing a little more sane, by having an explicit char_image function (that delegates most work to char_link).
The current situation is incredibly hacky, because char_link has to reach into the output buffer to remove the last exclamation mark. For a non-standard renderer that does not just echo normal text to the output, this doesn't work well.
2015-12-03 15:44:38 -05:00

9 lines
253 B
HTML

<p>This is an <img src="/url" alt="image">.</p>
<p>This is a tricky !<img src="/url" alt="image">.</p>
<p>This is another tricky case: !<a href="/url">not image</a>.</p>
<p>This is a reference <img src="/url2" alt="image">.</p>
<p>Terminating !</p>