From 52983c10242fa879ab6b5f5e5864b59f93d98afa Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 20 Feb 2013 01:16:18 -0800 Subject: older versions of pandoc don't support :html5 --- lib/static_page.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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'}'"} -- cgit v1.2.3