Small Cleanup

Small cleanup to the zip export.
This commit is contained in:
Jacques Distler 2010-01-23 18:24:14 -06:00
parent 8ed5a88db0
commit 09e885d299

View file

@ -68,9 +68,7 @@ class WikiController < ApplicationController
end
def export_html
stylesheet = Rails.root.join('public', 'stylesheets', 'instiki.css').read
export_pages_as_zip(html_ext) do |page|
renderer = PageRenderer.new(page.revisions.last)
rendered_page = <<-EOL
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" >