nil fix
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user