Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix dumping of strings: quote all "'".

  • Loading branch information...
commit 8b0e658f2d6a4c83cb167233f6280f0ebd3c074f 1 parent 21e8eff
@bacek bacek authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  runtime/parrot/library/YAML/Tiny.pm
View
2  runtime/parrot/library/YAML/Tiny.pm
@@ -391,7 +391,7 @@ multi method _dump($indent, Hash %hash) {
}
multi method _dump($indent, String $value) {
- " '" ~ subst($value, /\'/, "''") ~ "'";
+ " '" ~ subst($value, /\'/, "''", :global) ~ "'";
}
multi method _dump($indent, $value) {

0 comments on commit 8b0e658

Please sign in to comment.
Something went wrong with that request. Please try again.