2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-04 08:47:37 +08:00

FIX: Missing constant in SMF2 importer (#9178)

This commit is contained in:
Justin DiRose 2020-03-11 10:19:59 -05:00 committed by GitHub
parent 3f9b310beb
commit 6c948f27ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -369,6 +369,11 @@ class ImportScripts::Smf2 < ImportScripts::Base
end
end
IGNORED_BBCODE ||= %w{
black blue center color email flash font glow green iurl left list move red
right shadown size table time white
}
def convert_bbcode(raw)
return "" if raw.blank?