Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for requireRelNofollowOnLinks (1.3 seconds)

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

                    .allowElements("a")
                    .allowUrlProtocols("http", "https")
                    .allowAttributes("href")
                    .onElements("a")
                    .requireRelNofollowOnLinks()
                    // Images - only allow http/https protocols
                    .allowElements("img")
                    .allowUrlProtocols("http", "https")
                    .allowAttributes("src", "alt", "title")
    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 (markdownDomPurifyInitialized || typeof DOMPurify === 'undefined') return;
            // Register hook once: add rel="nofollow" to links, restrict class to code/pre/span/div
            // (matches server-side requireRelNofollowOnLinks and allowAttributes("class").onElements(...))
            DOMPurify.addHook('afterSanitizeAttributes', function(node) {
                if (node.tagName === 'A' && node.hasAttribute('href')) {
    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