From d2c4623bf7e66f5c8d5670c968944a7618f0bc18 Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Sat, 22 May 2010 16:11:27 -0500 Subject: [PATCH] HTML5 Doctype --- app/controllers/wiki_controller.rb | 2 +- app/views/layouts/default.rhtml | 2 +- app/views/layouts/error.html.erb | 2 +- app/views/wiki/s5.rhtml | 2 +- app/views/wiki/source.html.erb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/controllers/wiki_controller.rb b/app/controllers/wiki_controller.rb index 6fafac2c..c4cebfc5 100644 --- a/app/controllers/wiki_controller.rb +++ b/app/controllers/wiki_controller.rb @@ -71,7 +71,7 @@ class WikiController < ApplicationController export_pages_as_zip(html_ext) do |page| renderer = PageRenderer.new(page.revisions.last) rendered_page = <<-EOL - + #{page.plain_name} in #{@web.name} diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index 79dba5dc..620b7925 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -1,4 +1,4 @@ - + diff --git a/app/views/layouts/error.html.erb b/app/views/layouts/error.html.erb index 5c03dfce..6659df53 100644 --- a/app/views/layouts/error.html.erb +++ b/app/views/layouts/error.html.erb @@ -1,4 +1,4 @@ -<!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> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> diff --git a/app/views/wiki/s5.rhtml b/app/views/wiki/s5.rhtml index 7c2be99d..ccbb8c37 100644 --- a/app/views/wiki/s5.rhtml +++ b/app/views/wiki/s5.rhtml @@ -1,4 +1,4 @@ -<!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> <html xmlns="http://www.w3.org/1999/xhtml"> diff --git a/app/views/wiki/source.html.erb b/app/views/wiki/source.html.erb index 952cf56a..1ef02b0e 100644 --- a/app/views/wiki/source.html.erb +++ b/app/views/wiki/source.html.erb @@ -1,4 +1,4 @@ -<!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> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>