From ac7c35a84a6cc88807ab582517c731b1fb21aee6 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 28 Oct 2013 18:53:09 -0700 Subject: temporarily disable i18n fix until ruby 1.9 is running. --- lib/static_page.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/static_page.rb b/lib/static_page.rb index 9f4cc05..be64363 100644 --- a/lib/static_page.rb +++ b/lib/static_page.rb @@ -411,7 +411,8 @@ class StaticPage rd = RDiscount.new(string, :smart, :generate_toc, :autolink) html = rd.to_html if props.locale(locale).toc != false && rd.toc_content - html = "
%s
\n\n%s" % [rd.toc_content.force_encoding('utf-8'), html] + #html = "
%s
\n\n%s" % [rd.toc_content.force_encoding('utf-8'), html] + html = "
%s
\n\n%s" % [rd.toc_content, html] end unless (title = explicit_title(locale)).nil? html = "

#{title}

\n\n" + html -- cgit v1.2.3