Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for softbreak (0.03 seconds)

  1. 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