diff options
author | murphy <murphy@rubychan.de> | 2010-04-02 00:14:27 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-04-02 00:14:27 +0000 |
commit | 1de8e57c915561e0c5ce7e98e8760c7e7ad0a38e (patch) | |
tree | 164e7ddcc5495534de4deb136fbc3c8c0e0fb87f /lib/coderay/encoders/html/output.rb | |
parent | 71cf11e7137e39c5ef1e9840adda6bcfb38f7432 (diff) | |
download | coderay-1de8e57c915561e0c5ce7e98e8760c7e7ad0a38e.tar.gz |
HTML encoder is HTML 5 and CSS 3 compatible (closes #215).
This also means it's incompatible to previous versions of HTML and CSS.
Also, the output may not show correctly on IE.
I officially drop support for Internet Explorer with no regrets.
Diffstat (limited to 'lib/coderay/encoders/html/output.rb')
-rw-r--r-- | lib/coderay/encoders/html/output.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/coderay/encoders/html/output.rb b/lib/coderay/encoders/html/output.rb index 57d2e88..83c4ec6 100644 --- a/lib/coderay/encoders/html/output.rb +++ b/lib/coderay/encoders/html/output.rb @@ -181,11 +181,10 @@ module Encoders LIST PAGE = <<-`PAGE` -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="de"> +<!DOCTYPE html> +<html> <head> - <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <style type="text/css"> <%CSS%> |