OSDN Git Service

fix bug
authormasahino <masahino@gmail.com>
Tue, 5 Apr 2011 14:52:17 +0000 (23:52 +0900)
committermasahino <masahino@gmail.com>
Tue, 5 Apr 2011 14:52:17 +0000 (23:52 +0900)
lib/ldblogwriter/parser.rb

index 85d1261..3168892 100644 (file)
@@ -114,7 +114,7 @@ module LDBlogWriter
         lines.shift
         syntax_highlight(lines, $1)
       else
-        ["<pre>#{lines.map {|line| escape_html(line) }.join("\n")}",
+        ["<pre>", lines.map {|line| escape_html(line) }.join("\n"),
         '</pre>']
       end
     end