Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // NewLine contains a new line NewLine = []byte{'\n'} )
Functions ¶
func EscapeAllHTMLTags ¶ added in v0.3.3
func EscapeNonASCII ¶
EscapeNonASCII replaces tabs and other non-printable characters with a "\x01" form of hex escaping. It works on a byte-by-byte basis.
func StripSomeHTML ¶ added in v0.3.2
StripSomeHTML removes the most common html presentation tags from the text
func UnescapeNonASCII ¶
UnescapeNonASCII undoes the transformation of escapeNonASCII.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.