Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: open
Works perfectly in FF but in IE it doesn't, meaning that oldText contains " hello world" as no replace were performed.
[edited by: penders at 12:51 pm (utc) on Jul 15, 2011]
I understand that double spaces can be problematic but why is this strange behavior also with --?
Besides, the " " is actually stored as " " So maybe this is messing things up even more...
var regExp = /\u00A0\u00A0/g;