sanitise_html_email

command
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package main demonstrates a HTML email cleaner.

It should be noted that this uses bluemonday to sanitize the HTML but as it preserves the styling of the email this should not be considered a safe or XSS secure approach.

It does function as a basic demonstration of how to take HTML emails, which are notorious for having inconsistent, obselete and poorly formatted HTML, and to use bluemonday to normalise the output.

Jump to

Keyboard shortcuts

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