add caching hooks for Gollum::Markup

This commit is contained in:
rick
2010-10-12 15:36:36 -07:00
parent 94c3ac767e
commit e7f2da2d4a
3 changed files with 62 additions and 18 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ module Gollum
#
# Returns the String data.
def formatted_data
@blob && Gollum::Markup.new(self).render(historical?)
@blob && @wiki.markup_class.new(self).render(historical?)
end
# Public: The format of the page.