Permalink
Browse files

correct interface of to_array method in prawn default parser

  • Loading branch information...
1 parent fed495d commit e1b51252a0dc46e4d75702f6dbade1f1a8ebec84 Christoph Schiessl committed Jun 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/prawn/text/formatted/parser.rb
@@ -14,7 +14,7 @@ module Formatted
class Parser
- def self.to_array(string)
+ def self.to_array(string, *args)
regex_string = "\n|" +
"<b>|</b>|" +
"<i>|</i>|" +

0 comments on commit e1b5125

Please sign in to comment.