summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/html
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2011-04-17 14:03:02 +0000
committermurphy <murphy@rubychan.de>2011-04-17 14:03:02 +0000
commitd8c9161dc174e364fc4a3e8e9df1d45262c5cc4a (patch)
tree0f079cd03bb4fb43c36ee5c161b210c7a9cbd189 /lib/coderay/encoders/html
parent84bbaddb495a1657433106a85274424e5a56259e (diff)
downloadcoderay-d8c9161dc174e364fc4a3e8e9df1d45262c5cc4a.tar.gz
renamed pre_* token kinds to predefined_*
Diffstat (limited to 'lib/coderay/encoders/html')
-rw-r--r--lib/coderay/encoders/html/output.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/coderay/encoders/html/output.rb b/lib/coderay/encoders/html/output.rb
index 40e3b04..5aa80a7 100644
--- a/lib/coderay/encoders/html/output.rb
+++ b/lib/coderay/encoders/html/output.rb
@@ -3,14 +3,14 @@ module Encoders
class HTML
- # This module is included in the output String from thew HTML Encoder.
+ # This module is included in the output String of the HTML Encoder.
#
# It provides methods like wrap, div, page etc.
#
# Remember to use #clone instead of #dup to keep the modules the object was
# extended with.
#
- # TODO: more doc.
+ # TODO: Rewrite this without monkey patching.
module Output
attr_accessor :css
@@ -25,7 +25,7 @@ module Encoders
def make_stylesheet css, in_tag = false # :nodoc:
sheet = css.stylesheet
- sheet = <<-CSS if in_tag
+ sheet = <<-'CSS' if in_tag
<style type="text/css">
#{sheet}
</style>