jadof 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jadof/page.rb +2 -2
- metadata +2 -2
data/lib/jadof/page.rb
CHANGED
@@ -116,8 +116,8 @@ module JADOF #:nodoc:
|
|
116
116
|
def render page
|
117
117
|
html = page.body
|
118
118
|
|
119
|
-
page.extensions.reverse.each do |
|
120
|
-
if formatter = formatters[
|
119
|
+
page.extensions.reverse.each do |extension| # ["markdown", "erb"]
|
120
|
+
if formatter = formatters[extension]
|
121
121
|
begin
|
122
122
|
html = formatter.call(html)
|
123
123
|
rescue ArgumentError => ex
|