bug fix: if an ampersand is a valid HTML code it will no longer be escaped.