Home | History | Annotate | Download | only in xml

Lines Matching refs:escapeText

1841 // EscapeText writes to w the properly escaped XML equivalent
1843 func EscapeText(w io.Writer, s []byte) error {
1844 return escapeText(w, s, true)
1847 // escapeText writes to w the properly escaped XML equivalent
1850 func escapeText(w io.Writer, s []byte, escapeNewline bool) error {
1936 // Escape is like EscapeText but omits the error return value.
1938 // Code targeting Go 1.1 or later should use EscapeText.
1940 EscapeText(w, s)