diff --git a/script/import_scripts/vanilla_mysql.rb b/script/import_scripts/vanilla_mysql.rb index aba0dd9423d..9bf33fd637b 100644 --- a/script/import_scripts/vanilla_mysql.rb +++ b/script/import_scripts/vanilla_mysql.rb @@ -320,7 +320,9 @@ class ImportScripts::VanillaSQL < ImportScripts::Base raw.gsub!(/\[attach[^\]]*\]\d+\[\/attach\]/i, "") # sanitize img tags - raw.gsub!(/\/i) {"\n\n"} + # This regexp removes everything between the first and last img tag. The .* is too much. + # If it's needed, it needs to be fixed. + # raw.gsub!(/\/i) {"\n\n"} raw end