diff options
Diffstat (limited to 'Master/tlpkg/TeXLive/TLPOBJ.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TLPOBJ.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm index c49214ff194..a9835dff314 100644 --- a/Master/tlpkg/TeXLive/TLPOBJ.pm +++ b/Master/tlpkg/TeXLive/TLPOBJ.pm @@ -310,10 +310,14 @@ sub writeout { foreach my $f (sort @{$self->{'docfiles'}}) { print $fd " $f"; if (defined($self->{'docfiledata'}{$f}{'details'})) { - print $fd ' details="', $self->{'docfiledata'}{$f}{'details'}, '"'; + my $tmp = $self->{'docfiledata'}{$f}{'details'}; + $tmp =~ s/\"/\\\"/g; + print $fd ' details="', $tmp, '"'; } if (defined($self->{'docfiledata'}{$f}{'language'})) { - print $fd ' language="', $self->{'docfiledata'}{$f}{'language'}, '"'; + my $tmp = $self->{'docfiledata'}{$f}{'language'}; + $tmp =~ s/\"/\\\"/g; + print $fd ' language="', $tmp, '"'; } print $fd "\n"; } |