Added pageReplaceHTMLAttr