diff options
Diffstat (limited to 'lib/coderay/encoders/html')
-rw-r--r-- | lib/coderay/encoders/html/output.rb | 6 |
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> |