Reposted from this answer
The following markdown breaks:
![`<b>`Testing something](https://stackoverflow.com/content/img/so/logo.png)
It renders..
<b>Testing something" title="" />
For example:
Reposted from this answer
The following markdown breaks:
![`<b>`Testing something](https://stackoverflow.com/content/img/so/logo.png)
It renders..
<b>Testing something" title="" />
For example:
It's weird because per the babemark test of this example:
This shouldn't be happening in markdown.pl 1.0.1 or markdown.pl 1.0.2b8. It's got to be something we're doing, somehow...
Edit: ah, I see. The sanitizer is rejecting this.
Markdown input
![`<b>`Testing something](http://stackoverflow.com/content/img/so/logo.png)
Markdown output
<p><img src="http://stackoverflow.com/content/img/so/logo.png"
alt="<code><b></code>Testing something" /></p>
Thus, it's not a Markdown issue, per se.. I'm not sure we really want to allow html tags of any sort inside the alt tag. So I am closing this as [status-bydesign].
Given Jeff's explanation, it would make sense that the following Markdown would work:
![<b>Testing something](https://stackoverflow.com/content/img/so/logo.png)
...and it does. ;-)