From: Robert Spier Date: Wed, 3 Apr 2002 16:26:21 +0000 (-0800) Subject: [PATCH} Pod::HTML and HTML4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5b25816d784c59dfc586dc4501214e8b992de8ae;p=p5sagit%2Fp5-mst-13.2.git [PATCH} Pod::HTML and HTML4 Message-ID: <3CAB9DAD.20305@pobox.com> p4raw-id: //depot/perl@15726 --- diff --git a/lib/Pod/Html.pm b/lib/Pod/Html.pm index 179b80b..c912319 100644 --- a/lib/Pod/Html.pm +++ b/lib/Pod/Html.pm @@ -1694,7 +1694,8 @@ sub html_escape { $rest =~ s//>/g; $rest =~ s/"/"/g; - $rest =~ s/'/'/g; + # ' is only in XHTML, not HTML4. Be conservative + #$rest =~ s/'/'/g; return $rest; }