Browse files

Fix null gsubs by PJ Hyett

  • Loading branch information...
1 parent 00d9c68 commit 5d51623a109b5bdcec62ff8e37f9104cf62dc4a8 @defunkt committed Oct 2, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/acts_as_textiled.rb
View
2 lib/acts_as_textiled.rb
@@ -51,7 +51,7 @@ def write_attribute(attr_name, value)
private
def strip_redcloth_html(html)
- html = html.dup.gsub!(html_regexp, '')
+ html = html.dup.gsub(html_regexp, '')
redcloth_glyphs.each do |(entity, char)|
html.gsub!(entity, char)
end

0 comments on commit 5d51623

Please sign in to comment.