older versions of pandoc don't support :html5
authorelijah <elijah@riseup.net>
Wed, 20 Feb 2013 09:16:18 +0000 (01:16 -0800)
committerelijah <elijah@riseup.net>
Wed, 20 Feb 2013 09:16:18 +0000 (01:16 -0800)
lib/static_page.rb

index b4bc40d..6ad0c51 100644 (file)
@@ -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'}'"}