contrib/dump-asy.pl: Fix $ in window titles
Patch status: superseded
Patch by Diego Ongaro
Long description:
This would produce an asy/LaTeX parse error before.
To apply this patch, use:
curl http://cr.i3wm.org/patch/155/raw.patch | git am
b/contrib/dump-asy.pl
14 |
@@ -32,6 +32,7 @@ sub dump_node { |
15 |
my $w = (defined($n->{window}) ? $n->{window} : "N"); |
16 |
my $na = $n->{name}; |
17 |
$na =~ s/#/\\#/g; |
18 |
+ $na =~ s/\$/\\\$/g; |
19 |
$na =~ s/_/\\_/g; |
20 |
$na =~ s/~/\\textasciitilde{}/g; |
21 |
my $type = 'leaf'; |