bou.ke/statictemplate@v0.0.0-20180821122055-510411a5e7dd/funcs/html_template_funcs.go (about) 1 package funcs 2 3 import ( 4 _ "html/template" 5 _ "unsafe" 6 ) 7 8 //go:linkname attrescaper html/template.attrEscaper 9 func attrescaper(args ...interface{}) string 10 func Attrescaper(args ...interface{}) string { 11 return attrescaper(args...) 12 } 13 14 //go:linkname commentescaper html/template.commentEscaper 15 func commentescaper(args ...interface{}) string 16 func Commentescaper(args ...interface{}) string { 17 return commentescaper(args...) 18 } 19 20 //go:linkname cssescaper html/template.cssEscaper 21 func cssescaper(args ...interface{}) string 22 func Cssescaper(args ...interface{}) string { 23 return cssescaper(args...) 24 } 25 26 //go:linkname cssvaluefilter html/template.cssValueFilter 27 func cssvaluefilter(args ...interface{}) string 28 func Cssvaluefilter(args ...interface{}) string { 29 return cssvaluefilter(args...) 30 } 31 32 //go:linkname htmlnamefilter html/template.htmlNameFilter 33 func htmlnamefilter(args ...interface{}) string 34 func Htmlnamefilter(args ...interface{}) string { 35 return htmlnamefilter(args...) 36 } 37 38 //go:linkname htmlescaper html/template.htmlEscaper 39 func htmlescaper(args ...interface{}) string 40 func Htmlescaper(args ...interface{}) string { 41 return htmlescaper(args...) 42 } 43 44 //go:linkname jsregexpescaper html/template.jsRegexpEscaper 45 func jsregexpescaper(args ...interface{}) string 46 func Jsregexpescaper(args ...interface{}) string { 47 return jsregexpescaper(args...) 48 } 49 50 //go:linkname jsstrescaper html/template.jsStrEscaper 51 func jsstrescaper(args ...interface{}) string 52 func Jsstrescaper(args ...interface{}) string { 53 return jsstrescaper(args...) 54 } 55 56 //go:linkname jsvalescaper html/template.jsValEscaper 57 func jsvalescaper(args ...interface{}) string 58 func Jsvalescaper(args ...interface{}) string { 59 return jsvalescaper(args...) 60 } 61 62 //go:linkname htmlnospaceescaper html/template.htmlNospaceEscaper 63 func htmlnospaceescaper(args ...interface{}) string 64 func Htmlnospaceescaper(args ...interface{}) string { 65 return htmlnospaceescaper(args...) 66 } 67 68 //go:linkname rcdataescaper html/template.rcdataEscaper 69 func rcdataescaper(args ...interface{}) string 70 func Rcdataescaper(args ...interface{}) string { 71 return rcdataescaper(args...) 72 } 73 74 //go:linkname urlescaper html/template.urlEscaper 75 func urlescaper(args ...interface{}) string 76 func Urlescaper(args ...interface{}) string { 77 return urlescaper(args...) 78 } 79 80 //go:linkname urlfilter html/template.urlFilter 81 func urlfilter(args ...interface{}) string 82 func Urlfilter(args ...interface{}) string { 83 return urlfilter(args...) 84 } 85 86 //go:linkname urlnormalizer html/template.urlNormalizer 87 func urlnormalizer(args ...interface{}) string 88 func Urlnormalizer(args ...interface{}) string { 89 return urlnormalizer(args...) 90 }