Possible Duplicate:
strange character replacement on SO
When I write a comment with an HTML <a>
tag containing both href=""
and title=""
attributes, a semicolon is added after the concluding URL quote:
Test link: <a href="https://meta.stackexchange.com/q/106431"
title="Why and when is a semicolon added to a comment?">
this MSO question</a>
becomes
Test link: <a href="https://meta.stackexchange.com/q/106431"; <---------
title="Why and when is a semicolon added to a comment?">
this MSO question</a>
The HTML source is:
<span class="comment-copy">
Demonstration comment: <a href="<a href="https://meta.stackexchange.com/q/106431"">meta.stackoverflow.com/q/106431"</a>;
title="Why and when is a semicolon added to a comment?">
this MSO question</a>
</span>
I'm aware of the mini-markdown syntax for basic links of [inline text](http://example.com)
to be used in titles. I understand that (and why) HTML markup isn't supported in comments. I won't actually type the above comment, and if I do, I'll fix it.
However, I still want to know in what other cases I can expect a semicolon to be added.