Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SanitizerService ¶
type SanitizerService struct {
// contains filtered or unexported fields
}
func NewSanitizerService ¶
func NewSanitizerService() *SanitizerService
func (SanitizerService) Sanitize ¶
func (s SanitizerService) Sanitize(html string) string
Sanitize function runs the HTML code through policies to remove unwanted/insecure elements.
Click to show internal directories.
Click to hide internal directories.