mirror of
https://github.com/jhillyerd/inbucket.git
synced 2026-01-08 04:01:55 +00:00
sanitize: naive CSS sanitizer implementation
- CSS sanitizer allows a limited set of properties in a style attribute. - Added a CSS inlined version of the tutsplus responsive test mail. - Linter fixes in inbucket.go
This commit is contained in:
@@ -5,4 +5,6 @@ Subject: Swaks HTML
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/html; charset="UTF-8"
|
||||
|
||||
This is a test of <b>HTML</b> at the <i>top</i> level.
|
||||
<p style="font-family: 'Courier New', Courier, monospace;">
|
||||
This is a test of <b>HTML</b> at the <i>top</i> level.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user