mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
more post cleanup rules
This commit is contained in:
parent
5db345705b
commit
e449bf531c
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue