benpate / htmlconv

HTML manipulations for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTMLConv 🤓

GoDoc Build Status Codecov Go Report Card Version

Simple Go (golang) library for manipulating HTML content

FromText(text) html

ToText(html) text

IsHTML(string) bool

RemoveTags(html) string

Summary(html) string

CollapseWhitespace(string) string

Pull Requests Welcome

Original versions of this library have been used in production on commercial applications for years, and the extra data collection has been a tremendous help for everyone involved.

I'm now open sourcing this library, and others, with hopes that you'll also benefit from a more robust error package.

Please use GitHub to make suggestions, pull requests, and enhancements. We're all in this together! 🤪

About

HTML manipulations for Go

License:Apache License 2.0


Languages

Language:Go 100.0%