diff --git a/html.go b/html.go
index 596fa35..bce2809 100644
--- a/html.go
+++ b/html.go
@@ -42,7 +42,7 @@ const (
)
var (
- tags = []string{
+ tags = []string{
"b",
"blockquote",
"code",
@@ -70,10 +70,10 @@ var (
"strike",
"ul",
}
- urlRe = `((https?|ftp):\/\/|\/)[-A-Za-z0-9+&@#\/%?=~_|!:,.;\(\)]+`
+ urlRe = `((https?|ftp):\/\/|\/)[-A-Za-z0-9+&@#\/%?=~_|!:,.;\(\)]+`
tagWhitelist = regexp.MustCompile(`^(<\/?(` + strings.Join(tags, "|") + `)>|<(br|hr)\s?\/?>)$`)
- anchorClean = regexp.MustCompile(`^(]+")?\s?>|<\/a>)$`)
- imgClean = regexp.MustCompile(`^(]*")?(\stitle="[^"<>]*")?\s?\/?>)$`)
+ anchorClean = regexp.MustCompile(`^(]+")?\s?>|<\/a>)$`)
+ imgClean = regexp.MustCompile(`^(]*")?(\stitle="[^"<>]*")?\s?\/?>)$`)
)
// Html is a type that implements the Renderer interface for HTML output.