safehtml

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package safehtml is the sole boundary for inserting untrusted text into HTML.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Text

func Text(value string) string

Text escapes text for both HTML text nodes and quoted attributes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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