IE8 and 9 freeze when trying to do a ReplaceAll in HTML mode and the string to find is very short - easiest way to reproduce is using a single letter.