This commit is contained in:
albert
2013-03-02 22:54:28 -05:00
parent 68ac05e31c
commit 58605f7fa4

View File

@@ -190,7 +190,7 @@ class DText
end
def self.sanitize(text)
text.gsub!(/<( |\Z)/, "&lt;\\1")
text.gsub!(/<( |-|\Z)/, "&lt;\\1")
Sanitize.clean(
text,