Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for removeCommentTag (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        }
    
        /**
         * Removes HTML comment tags from the content.
         *
         * @param content the content to process
         * @return the content with comment tags removed
         */
        protected String removeCommentTag(final String content) {
            if (content == null) {
                return StringUtil.EMPTY;
            }
            String value = content;
            int pos = value.indexOf("<!--");
            while (pos >= 0) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
Back to Top