Versions in this module Expand all Collapse all v1 v1.9.1 May 23, 2024 Changes in this version + const AttrCenter + const AttrLeft + const AttrRight + const GlobalDateUpdate + const GlobalName + const GlobalVersion + const TagBold + const TagDelimiter + const TagItalic + const TagLineThrough + const TagParagraph + const TagQuote + const TagSubScript + const TagSuperScript + const TagUnderline + func IsValidTag(data []byte) (tag string, isValid bool, isParagraph bool) + func Standardization(htmlText io.Reader) string + func Text(htmlText io.Reader) string + func TextFast(htmlText io.Reader) string + type TextTransformObj struct + func TextTransform() TextTransformObj + func (obj *TextTransformObj) AddDelimiter(delimiter string) *TextTransformObj + func (obj *TextTransformObj) AddParagraph(begin string, end string) *TextTransformObj + func (obj *TextTransformObj) AddParagraphCenter(begin string, end string) *TextTransformObj + func (obj *TextTransformObj) AddParagraphLeft(begin string, end string) *TextTransformObj + func (obj *TextTransformObj) AddParagraphRight(begin string, end string) *TextTransformObj + func (obj *TextTransformObj) AddTagBold(begin string, end string) *TextTransformObj + func (obj *TextTransformObj) AddTagItalic(begin string, end string) *TextTransformObj + func (obj *TextTransformObj) AddTagLineThrough(begin string, end string) *TextTransformObj + func (obj *TextTransformObj) AddTagQuote(begin string, end string) *TextTransformObj + func (obj *TextTransformObj) AddTagSubScript(begin string, end string) *TextTransformObj + func (obj *TextTransformObj) AddTagSuperScript(begin string, end string) *TextTransformObj + func (obj *TextTransformObj) AddTagUnderline(begin string, end string) *TextTransformObj + func (obj *TextTransformObj) Transform(htmlText io.Reader) (retText string) + type ValidateObj struct + Size struct{ ... } + Tags struct{ ... } + func Validate(htmlText io.Reader) ValidateObj v1.5.4 May 23, 2024