mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:51:07 +08:00
Change comma-delim site settings to pipe-delim
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user