Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
This commit is contained in:
commit
a8370d5f45
|
@ -68,9 +68,7 @@ class WikiController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def export_html
|
def export_html
|
||||||
stylesheet = Rails.root.join('public', 'stylesheets', 'instiki.css').read
|
|
||||||
export_pages_as_zip(html_ext) do |page|
|
export_pages_as_zip(html_ext) do |page|
|
||||||
|
|
||||||
renderer = PageRenderer.new(page.revisions.last)
|
renderer = PageRenderer.new(page.revisions.last)
|
||||||
rendered_page = <<-EOL
|
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" >
|
<!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" >
|
||||||
|
|
Loading…
Reference in a new issue