rescue REXML error
HTMLBuilder: add escaping in Ruby