Home
last modified time | relevance | path

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

/external/owasp/sanitizer/src/tests/org/owasp/html/
DTagBalancingHtmlStreamRendererTest.java39 .isInterElementWhitespace;
325 assertFalse(isInterElementWhitespace("foo")); in testIsInterElementWhitespace()
326 assertTrue(isInterElementWhitespace("")); in testIsInterElementWhitespace()
327 assertTrue(isInterElementWhitespace(" ")); in testIsInterElementWhitespace()
328 assertTrue(isInterElementWhitespace("\t")); in testIsInterElementWhitespace()
329 assertTrue(isInterElementWhitespace("\n")); in testIsInterElementWhitespace()
330 assertTrue(isInterElementWhitespace(" \n")); in testIsInterElementWhitespace()
331 assertTrue(isInterElementWhitespace("\r\n")); in testIsInterElementWhitespace()
332 assertTrue(isInterElementWhitespace("\r")); in testIsInterElementWhitespace()
333 assertTrue(isInterElementWhitespace(" ")); in testIsInterElementWhitespace()
[all …]
/external/owasp/sanitizer/src/main/org/owasp/html/
DTagBalancingHtmlStreamEventReceiver.java222 public static boolean isInterElementWhitespace(String text) { in isInterElementWhitespace() method in TagBalancingHtmlStreamEventReceiver
234 if (!isInterElementWhitespace(text)) { in text()