lib/text2svg/cli.rb in text2svg-0.3.2 vs lib/text2svg/cli.rb in text2svg-0.3.3

- old
+ new

@@ -35,10 +35,10 @@ }.parse!(ARGV) unless o.font raise ArgumentError, 'require `--font` cli option. see --help' end text = ARGV[0] || $stdin.read - puts Text2svg::Typography.build(text, o).to_s + puts Text2svg::Typography.build(text.dup, o).to_s end module_function :start end end