Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Strip ¶
Strip Clean html tags https://stackoverflow.com/questions/55036156/how-to-replace-all-html-tag-with-empty-string-in-golang
Types ¶
type CleanMode ¶
type CleanMode uint32
const ( CleanModeCSS CleanMode = 1 << (10 - iota) // 包括元素内嵌样式 CleanModeJavascript CleanModeComment CleanModeMeta CleanModeSpace CleanModeAll = CleanModeCSS | CleanModeJavascript | CleanModeComment | CleanModeMeta | CleanModeSpace )
Click to show internal directories.
Click to hide internal directories.