diff --git a/script/import_scripts/phpbb3.rb b/script/import_scripts/phpbb3.rb index 10a0f3c40..373db6e75 100644 --- a/script/import_scripts/phpbb3.rb +++ b/script/import_scripts/phpbb3.rb @@ -274,7 +274,7 @@ class ImportScripts::PhpBB3 < ImportScripts::Base s = raw.dup # :) is encoded as :) - s.gsub!(/(?:.*)/, '\1') + s.gsub!(/]+) \/>/, '\1') # Internal forum links of this form: viewtopic.php?f=26&t=3412 s.gsub!(/viewtopic(?:.*)t=(\d+)<\/a>/) do |phpbb_link|