From e449bf531c3494487ceb9b30133b3dca8c0d9613 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 16 Jul 2015 16:23:14 +1000 Subject: [PATCH] more post cleanup rules --- script/import_scripts/lithium.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/import_scripts/lithium.rb b/script/import_scripts/lithium.rb index b43e5cee808..dfb0e58623e 100644 --- a/script/import_scripts/lithium.rb +++ b/script/import_scripts/lithium.rb @@ -313,6 +313,10 @@ class ImportScripts::Lithium < ImportScripts::Base raw.gsub!(/^\s* \s*$/, "") # ugly quotes raw.gsub!(/^>[\s\*]*$/, "") + raw.gsub!(":smileysad:", ":frowning:") + raw.gsub!(":smileyhappy:", ":smile:") + # nbsp central + raw.gsub!(/([a-zA-Z0-9]) ([a-zA-Z0-9])/,"\\1 \\2") raw end