mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Change comma-delim site settings to pipe-delim
This commit is contained in:
parent
b328fd0031
commit
9c4dd1cb35
9 changed files with 41 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue