[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pseudo-packages rendering



        Hi!

 Please find attached a patch for the english/Bugs/pseudo-packages.wml
file that will substitude & with & in the package description,
making it xhtml compliant (and validate happy :).

 If there are no objections, I'll commit it in some days.
Alfie
-- 
  * TEST
 -- Ryuichi Arafune, changelog.Debian for imagemagick (4:5.4.6-4)
Index: pseudo-packages.wml
===================================================================
RCS file: /cvs/webwml/webwml/english/Bugs/pseudo-packages.wml,v
retrieving revision 1.10
diff -u -r1.10 pseudo-packages.wml
--- pseudo-packages.wml	13 Jan 2002 20:22:17 -0000	1.10
+++ pseudo-packages.wml	19 Aug 2002 11:34:09 -0000
@@ -13,7 +13,7 @@
 <:
 my $file = "$(ENGLISHDIR)/Bugs/pseudo-packages.description";
 open I, "$file" or die "Can't open $file file: $!\n";
-while (<I>) { if (/^(\S+)\s+(.*)$/) { $pseudos{$1} = $2; } }
+while (<I>) { if (/^(\S+)\s+(.*)$/) { my ($foo) = $2; $pseudos{$1} = $foo =~ s/&/&amp;/g; } }
 close I;
 %pseudos || die "%pseudos is not set -- empty $file file?\n";
 foreach $a (sort keys %pseudos) {

Attachment: pgpYcYT659H5w.pgp
Description: PGP signature


Reply to: