Registry / serialization / golang-commonmark-html

golang-commonmark-html

JSON →
library0.0.0-20191124015941-a22733972181gogounverified

Package html provides functions for escaping/unescaping HTML text and parsing HTML entities.

go get gitlab.com/golang-commonmark/html
INSTALL
IMPORT
SIG · GOLANG-COMMONMARK-
G
golang-commonmark-html
serializationgov0.0.0-20191124015941-a22733972181
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

html
gitlab.com/golang-commonmark/html

Escape HTML special characters in a string.

package main import ( "fmt" "gitlab.com/golang-commonmark/html" ) func main() { escaped := html.EscapeString("<hello>") fmt.Println(escaped) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20191124015941-a22733972181latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
golang-commonmark-html — go get golang-commonmark-html · libregistry