html

package
v0.0.0-...-d627ed4 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package html provides utilities for converting HTML content to plain text.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToText

func ConvertToText(htmlContent string) (string, error)

ConvertToText converts an HTML string to plain text, stripping tags and preserving link URLs as inline text. It returns an error for empty input.

Types

This section is empty.

Jump to

Keyboard shortcuts

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