fix highlighting for message containing "%"