Documentation ¶
Overview ¶
Package html removes whitespace and comments from HTML code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Paragraphs ¶
Paragraphs takes a plain text string, replaces single line breaks by <br>, and wraps <p></p> tags around text blocks that are separated by two or more line breaks.
func RemoveWhitespace ¶
RemoveWhitespace removes whitespace between tags, actions, and at the beginning and end of the HTML code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.