Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for htmlReplacer (0.18 sec)

  1. src/html/template/html.go

    		return filterFailsafe
    	}
    	if t == contentTypeHTML {
    		return htmlReplacer(stripTags(s), htmlNospaceNormReplacementTable, false)
    	}
    	return htmlReplacer(s, htmlNospaceReplacementTable, false)
    }
    
    // attrEscaper escapes for inclusion in quoted attribute values.
    func attrEscaper(args ...any) string {
    	s, t := stringify(args...)
    	if t == contentTypeHTML {
    		return htmlReplacer(stripTags(s), htmlNormReplacementTable, true)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 19:42:28 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top