- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for removeCommentTag (0.21 sec)
-
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
assertEquals("", fessXpathTransformer.removeCommentTag("")); assertEquals(" ", fessXpathTransformer.removeCommentTag("<!-- - -->")); assertEquals("abc", fessXpathTransformer.removeCommentTag("abc")); assertEquals("abc ", fessXpathTransformer.removeCommentTag("abc<!-- foo -->")); assertEquals("abc 123", fessXpathTransformer.removeCommentTag("abc<!-- fo\no -->123"));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 41.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
} catch (final MalformedURLException e) { logger.warn("Invalid canonical url: {} : {}", baseUrl, canonicalUrl, e); } return null; } protected String removeCommentTag(final String content) { if (content == null) { return StringUtil.EMPTY; } String value = content; int pos = value.indexOf("<!--"); while (pos >= 0) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 42.9K bytes - Viewed (0)