Escape is like EscapeText but omits the error return value. It is provided for backwards compatibility with Go 1.0. Code targeting Go 1.1 or later should use EscapeText.
(w io.Writer, s []byte)
| 1994 | // It is provided for backwards compatibility with Go 1.0. |
| 1995 | // Code targeting Go 1.1 or later should use EscapeText. |
| 1996 | func Escape(w io.Writer, s []byte) { |
| 1997 | EscapeText(w, s) |
| 1998 | } |
| 1999 | |
| 2000 | var ( |
| 2001 | cdataStart = []byte("<![CDATA[") |
nothing calls this directly
no test coverage detected