Home
last modified time | relevance | path

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

/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlSanitizer.java201 private static String stripQuotes(String encodedAttributeValue) { in stripQuotes() argument
202 int n = encodedAttributeValue.length(); in stripQuotes()
204 char last = encodedAttributeValue.charAt(n - 1); in stripQuotes()
207 if (n != 1 && last == encodedAttributeValue.charAt(0)) { in stripQuotes()
213 return encodedAttributeValue.substring(start, n - 1); in stripQuotes()
216 return encodedAttributeValue; in stripQuotes()