Home
last modified time | relevance | path

Searched refs:REPLACEMENTS (Results 1 – 1 of 1) sorted by relevance

/external/owasp/sanitizer/src/main/org/owasp/html/
DEncoding.java170 if (ch < REPLACEMENTS.length) { in encodeHtmlOnto()
171 String repl = REPLACEMENTS[ch]; in encodeHtmlOnto()
244 static final String[] REPLACEMENTS = new String[0x61]; field in Encoding
253 REPLACEMENTS[i] = ""; // Elide
257 REPLACEMENTS['"'] = "&#" + ((int) '"') + ";"; // Attribute delimiter.
258 REPLACEMENTS['&'] = "&amp;"; // HTML special.
260 REPLACEMENTS['\''] = "&#" + ((int) '\'') + ";"; // Attribute delimiter.
261 REPLACEMENTS['+'] = "&#" + ((int) '+') + ";"; // UTF-7 special.
262 REPLACEMENTS['<'] = "&lt;"; // HTML special.
263 REPLACEMENTS['='] = "&#" + ((int) '=') + ";"; // Special in attributes.
[all …]