htmlutil

package
v0.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL