Documentation ¶ Index ¶ func StripHTML(s string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func StripHTML ¶ func StripHTML(s string) string StripHTML removes HTML tags from a string, leaving the text content. It also normalizes whitespace, replacing block-level tags with a single space and collapsing multiple whitespace characters into one. Types ¶ This section is empty. Source Files ¶ View all Source files html.go Click to show internal directories. Click to hide internal directories.