summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-02-20 01:16:18 -0800
committerelijah <elijah@riseup.net>2013-02-20 01:16:18 -0800
commit52983c10242fa879ab6b5f5e5864b59f93d98afa (patch)
treedfb897e786a01b5db3692f254b580cb038eca67a /lib
parent679def7b103913abd8685677ffbb400c78aa8b16 (diff)
older versions of pandoc don't support :html5
Diffstat (limited to 'lib')
-rw-r--r--lib/static_page.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/static_page.rb b/lib/static_page.rb
index b4bc40d..6ad0c51 100644
--- a/lib/static_page.rb
+++ b/lib/static_page.rb
@@ -349,7 +349,7 @@ class StaticPage
}
def render_pandoc(string, suffix, locale)
- args = [string, {:from => PANDOC_FORMATS[suffix], :to => :html5}, "smart"]
+ args = [string, {:from => PANDOC_FORMATS[suffix], :to => :html}, "smart"]
if props.locale(locale).toc != false
args << "table_of_contents"
args << {"template" => "'#{File.dirname(__FILE__) + '/template.html'}'"}