Home
last modified time | relevance | path

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

/external/owasp/sanitizer/src/main/org/owasp/html/
DTagBalancingHtmlStreamEventReceiver.java79 String canonElementName = HtmlLexer.canonicalName(elementName); in openTag() local
81 canonElementName); in openTag()
142 String canonElementName = HtmlLexer.canonicalName(elementName); in closeTag() local
144 canonElementName); in closeTag()
153 if (isHeaderElementName(canonElementName)) { in closeTag()
159 canonElementName = openEl.elementName; in closeTag()
243 private static boolean isHeaderElementName(String canonElementName) { in isHeaderElementName() argument
244 return canonElementName.length() == 2 && canonElementName.charAt(0) == 'h' in isHeaderElementName()
245 && canonElementName.charAt(1) <= '9'; in isHeaderElementName()
991 static boolean allowsPlainTextualContent(String canonElementName) { in allowsPlainTextualContent() argument
[all …]