Skip to content

Commit

Permalink
Tweak HTMLSanitizer default setting
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhu committed Jan 3, 2017
1 parent 41e75c0 commit f96f555
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils/utils.go
Expand Up @@ -24,7 +24,6 @@ var HTMLSanitizer = bluemonday.UGCPolicy()

func init() {
HTMLSanitizer.AllowStandardAttributes()
HTMLSanitizer.AddTargetBlankToFullyQualifiedLinks(true)
}

// HumanizeString Humanize separates string based on capitalizd letters
Expand Down

0 comments on commit f96f555

Please sign in to comment.