mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
more post cleanup rules
This commit is contained in:
@@ -313,6 +313,10 @@ class ImportScripts::Lithium < ImportScripts::Base
|
|||||||
raw.gsub!(/^\s* \s*$/, "")
|
raw.gsub!(/^\s* \s*$/, "")
|
||||||
# ugly quotes
|
# ugly quotes
|
||||||
raw.gsub!(/^>[\s\*]*$/, "")
|
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
|
raw
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user