in reply to How to recognize url in text and convert to hyperlink, unless already in anchor
Alternatively, don't allow your users to put the tags in in the first place! This makes it easier to protect yourself and your users against craziness involving some of the other attributes of the <a> tag, like target, onclick and so on.
|
---|