I am trying to create a link in my user profile description to the company where I work. I have seen other users with links in their descriptions (Jon Skeet), but can't get it to work. The 'basic HTML allowed' description says I can use <a>, but the tag gets stripped out when saved.

I have also tried the markdown way with [My Link](http://www.google.com) but that doesn't work either.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

This is one of the <a> tags in my own profile, which works just fine:

<a href="http://code.google.com/p/csvfix/">CSVfix</a>
share|improve this answer
Ha. wow. Single vs double quotes matter. With single quotes the link is stripped out. Thanks. –  Brian Ramsay Apr 15 '10 at 17:38
@Brian: interesting. I can only assume the anti-XSS mechanism isn't robust enough to recognize single-quote HTML –  Randolpho Apr 15 '10 at 17:52
Ugh. Aren't single quotes legal in HTML? –  Ether Apr 15 '10 at 18:19
@Ether: yes, they are legal. stackoverflow.com/questions/273354/html-single-quotes-a-problem –  Peter Mortensen Apr 15 '10 at 19:26
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .