Change comma-delim site settings to pipe-delim

This commit is contained in:
riking
2014-03-29 16:50:44 -07:00
parent b328fd0031
commit 9c4dd1cb35
9 changed files with 41 additions and 10 deletions

View File

@ -175,7 +175,7 @@ module PrettyText
whitelist = []
domains = SiteSetting.exclude_rel_nofollow_domains
whitelist = domains.split(",") if domains.present?
whitelist = domains.split('|') if domains.present?
site_uri = nil
doc = Nokogiri::HTML.fragment(html)