Home
last modified time | relevance | path

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

/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlLexer.java94 if (state == State.SAW_EQ && HtmlTokenType.TAGEND == token.type) { in produce()
100 token.start, token.start, HtmlTokenType.ATTRVALUE); in produce()
115 if (HtmlTokenType.TEXT == token.type in produce()
116 || HtmlTokenType.UNESCAPED == token.type) { in produce()
121 if (HtmlTokenType.TEXT == token.type in produce()
125 token, HtmlTokenType.ATTRNAME); in produce()
130 if (HtmlTokenType.TEXT == token.type) { in produce()
138 token, HtmlTokenType.ATTRNAME); in produce()
145 if (HtmlTokenType.TEXT == token.type in produce()
146 || HtmlTokenType.QSTRING == token.type) { in produce()
[all …]
DHtmlToken.java37 final HtmlTokenType type;
39 static HtmlToken instance(int start, int end, HtmlTokenType type) { in instance()
49 private HtmlToken(int start, int end, HtmlTokenType type) { in HtmlToken()
DHtmlTokenType.java36 enum HtmlTokenType { enum
DHtmlSanitizer.java150 && lexer.next().type != HtmlTokenType.TAGEND) { in sanitize()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlLexerTest.java127 for (HtmlTokenType t : HtmlTokenType.values()) { in lex()