global refactoring, unescaping marks in resulting html