more post cleanup rules

This commit is contained in:
Sam 2015-07-16 16:23:14 +10:00
parent 5db345705b
commit e449bf531c
1 changed files with 4 additions and 0 deletions

View File

@ -313,6 +313,10 @@ class ImportScripts::Lithium < ImportScripts::Base
raw.gsub!(/^\s*&nbsp;\s*$/, "")
# ugly quotes
raw.gsub!(/^>[\s\*]*$/, "")
raw.gsub!(":smileysad:", ":frowning:")
raw.gsub!(":smileyhappy:", ":smile:")
# nbsp central
raw.gsub!(/([a-zA-Z0-9])&nbsp;([a-zA-Z0-9])/,"\\1 \\2")
raw
end