Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for htmlRule (0.13 sec)

  1. src/text/template/funcs.go

    	htmlAmp  = []byte("&")
    	htmlLt   = []byte("<")
    	htmlGt   = []byte(">")
    	htmlNull = []byte("\uFFFD")
    )
    
    // HTMLEscape writes to w the escaped HTML equivalent of the plain text data b.
    func HTMLEscape(w io.Writer, b []byte) {
    	last := 0
    	for i, c := range b {
    		var html []byte
    		switch c {
    		case '\000':
    			html = htmlNull
    		case '"':
    			html = htmlQuot
    		case '\'':
    			html = htmlApos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top