mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
lint
This commit is contained in:
parent
4b8ff7a057
commit
ddcca1d5cc
1 changed files with 1 additions and 2 deletions
|
@ -160,8 +160,7 @@ class ImportScripts::XenForo < ImportScripts::Base
|
|||
if ! s.valid_encoding?
|
||||
s = s.encode("UTF-16be", invalid: :replace, replace: "?").encode('UTF-8')
|
||||
end
|
||||
#End Fix
|
||||
|
||||
|
||||
# Work around it for now:
|
||||
s.gsub!(/\[http(s)?:\/\/(www\.)?/, '[')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue