Replace calls to htmlspecialchars() with Convert::raw2xml()