summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-10-28 18:53:09 -0700
committerelijah <elijah@riseup.net>2013-10-28 18:53:09 -0700
commitac7c35a84a6cc88807ab582517c731b1fb21aee6 (patch)
tree1f636e2fb69de625990846b24cdfd1e1230d43fa /lib
parent588459b069b7648e91a1c665e115a07fdef98fad (diff)
temporarily disable i18n fix until ruby 1.9 is running.
Diffstat (limited to 'lib')
-rw-r--r--lib/static_page.rb3
1 files changed, 2 insertions, 1 deletions
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 = "<div id=\"TOC\">%s</div>\n\n%s" % [rd.toc_content.force_encoding('utf-8'), html]
+ #html = "<div id=\"TOC\">%s</div>\n\n%s" % [rd.toc_content.force_encoding('utf-8'), html]
+ html = "<div id=\"TOC\">%s</div>\n\n%s" % [rd.toc_content, html]
end
unless (title = explicit_title(locale)).nil?
html = "<h1 class=\"first\">#{title}</h1>\n\n" + html