acts_as_paranoid_versioned and routes

This commit is contained in:
2013-07-13 23:06:12 -04:00
parent 5563045378
commit 7d287fe530
7 changed files with 50 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ class String
def format_wiki
text = BlueCloth.new(self).to_html
text = Hpricot(text, :xhtml_strict => true).to_s
return text.sanitize
return text.sanitize unless text.blank?
end
end