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)
| 1970 | // It is provided for backwards compatibility with Go 1.0. |
| 1971 | // Code targeting Go 1.1 or later should use EscapeText. |
| 1972 | func Escape(w io.Writer, s []byte) { |
| 1973 | EscapeText(w, s) |
| 1974 | } |
| 1975 | |
| 1976 | // procInst parses the `param="..."` or `param='...'` |
| 1977 | // value out of the provided string, returning "" if not found. |
no test coverage detected