Permalink
Browse files

fix invalid SVG due to nested double-quote

  • Loading branch information...
ryan-mahoney committed Sep 17, 2018
1 parent e1593dc commit 5e62b45802a91065e5016ebf8f84e2b6f5a9c8de
Showing with 1 addition and 0 deletions.
  1. +1 −0 flamegraph.pl
View
@@ -797,6 +797,7 @@ sub flow {
$escaped_func =~ s/&/&/g;
$escaped_func =~ s/</&lt;/g;
$escaped_func =~ s/>/&gt;/g;
$escaped_func =~ s/"//g;
unless (defined $delta) {
$info = "$escaped_func ($samples_txt $countname, $pct%)";
} else {

0 comments on commit 5e62b45

Please sign in to comment.