diff options
Diffstat (limited to 'lib/coderay/encoders/html')
-rw-r--r-- | lib/coderay/encoders/html/classes.rb | 1 | ||||
-rw-r--r-- | lib/coderay/encoders/html/output.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/coderay/encoders/html/classes.rb b/lib/coderay/encoders/html/classes.rb index 4a01920..3d40a42 100644 --- a/lib/coderay/encoders/html/classes.rb +++ b/lib/coderay/encoders/html/classes.rb @@ -20,6 +20,7 @@ module CodeRay module Encoders :directive => 'di',
:doc => 'do',
:doc_string => 'ds',
+ :entity => 'en',
:error => 'er',
:escape => 'e',
:exception => 'ex',
diff --git a/lib/coderay/encoders/html/output.rb b/lib/coderay/encoders/html/output.rb index 80ab4f1..e9a3a41 100644 --- a/lib/coderay/encoders/html/output.rb +++ b/lib/coderay/encoders/html/output.rb @@ -174,7 +174,7 @@ module CodeRay "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="de">
<head>
- <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>CodeRay HTML Encoder Example</title>
<style type="text/css">
<%CSS%>
|