scrub

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package scrub cleans up HTML

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scrubber

type Scrubber struct {
	// contains filtered or unexported fields
}

Scrubber sanitizes the HTML from RSS Items.

func Create

func Create() (*Scrubber, error)

Create instantiates a new Scrubber and returns it.

func (*Scrubber) Scrub

func (s *Scrubber) Scrub(item *model.Item) error

Scrub cleans up an Item's HTML.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址