Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for softbreak (0.07 seconds)

  1. src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java

            markdownParser = Parser.builder().extensions(extensions).build();
    
            htmlRenderer = HtmlRenderer.builder().extensions(extensions).softbreak("<br/>").build();
    
            // Configure OWASP HTML Sanitizer with allowed tags
            htmlSanitizer = new HtmlPolicyBuilder()
                    // Headings
                    .allowElements("h1", "h2", "h3", "h4", "h5", "h6")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  2. src/main/webapp/js/chat.js

            if (typeof marked === 'undefined' || typeof DOMPurify === 'undefined') {
                return escapeHtml(text);
            }
            initMarkdownSanitizer();
            // breaks: true to match server-side softbreak("<br/>")
            var html = marked.parse(text, { gfm: true, breaks: true });
            return DOMPurify.sanitize(html, markdownSanitizeConfig);
        }
    
        /**
         * Escape HTML characters
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
Back to Top