Geek Alert!
I’m stuck on a problem involving regular expressions, and thought I’d appeal to our geekbase to see if anyone can provide a solution.
In our comments, occasionally someone will post a link by typing in the “
And for some reason this drives most web browsers insane, producing bizarre and unpredictable displays. Can a regex geek (I’m sure there are hordes of regex geeks reading this) suggest a way to make sure that the attributes inside an tag are properly surrounded by quotes? (Preferably in a PHP kinda flavor?) UPDATE: LGF reader Hovig John Heghinian suggested a good solution: or