Documentation ¶ Index ¶ func StripTags(html string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func StripTags ¶ func StripTags(html string) string StripTags removes all HTML tags from a string and normalizes whitespace. It converts block-level tags (p, div, br, etc.) to newlines to preserve paragraph structure, then strips remaining tags and cleans up whitespace. Types ¶ This section is empty. Source Files ¶ View all Source files strip.go Click to show internal directories. Click to hide internal directories.