fix html syntax excpet for wrap=off required by Firefox and IE