This commit is contained in:
albert
2011-11-11 18:41:22 -05:00
parent dd3996fd64
commit 83a4bcb833

View File

@@ -10,7 +10,7 @@ class WikiPagePresenter
end end
def blurb def blurb
excerpt.gsub(/<.+?>/, "") excerpt.try(:gsub, /<.+?>/, "")
end end
# Produce a formatted page that shows the difference between two versions of a page. # Produce a formatted page that shows the difference between two versions of a page.