diff --git a/goss-restorethread.rb b/goss-restorethread.rb index 38ef5f0..de0b154 100644 --- a/goss-restorethread.rb +++ b/goss-restorethread.rb @@ -1049,6 +1049,7 @@ class GossamerForumsImporter < ImportScripts::Base # sanitized_message.sub!(/\n?\[signature\]\n?\z/, '') # sanitized_message.gsub(/\n?\[signature\]\n?/, '') sanitized_message.gsub!(/[\r\n]*\[signature\][\r\n]*/, '') + sanitized_message.gsub!(/[\r\n]*\[inline.*\][\r\n]*/, '') # Ensure minimum length if sanitized_message.strip.empty? || sanitized_message.length < 5