Commit Diff
Diff:
11cabf8af8ac22dd13dce887d8071f2cb58f92ad
d823505320a4862944ac1e0bbc85218563373eef
Commit:
d823505320a4862944ac1e0bbc85218563373eef
Tree:
461746c9b9fb5943a1be4102913c60e25a422a9b
Author:
fredgnix <fredgnix@a8afeb8c-277c-4b4a-a4f6-ef4c85adc32b>
Committer:
fredgnix <fredgnix@a8afeb8c-277c-4b4a-a4f6-ef4c85adc32b>
Date:
Thu Apr 19 14:50:43 2012 UTC
Message:
clean XML output
blob - efae4bdcfdb53d1ceede445fc0083ca19d23eccc
blob + 160822c29d38bcb529fb6deb83802d024d0d047a
--- Pkgtxt2db.pm
+++ Pkgtxt2db.pm
@@ -145,6 +145,8 @@ sub mkdadb {
}
if (($_ =~ /\Q${pkgname}\E:(.*)/) && (defined($pkgname))) {
$pkgdb{$pkgname}[8] = $pkgdb{$pkgname}[8] . "$1";
+ # clean xml
+ $pkgdb{$pkgname}[8] =~ s/&/and/g;
next;
}
else {
Frédéric Galusik