Skip to content

Commit 0fcab9a

Browse files
committed
[css2] Fixed a bug: <'foo'> was printed as 'foo' instead of &lt;'foo'&gt;
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402107
1 parent 12b3b78 commit 0fcab9a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

css2/bin/pextr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# <span class="propinst-name">&lt;'name'&gt;</span>
1414
#
1515
# Ian Jacobs - ij@w3.org (Based on work by Arnaud Le Hors)
16-
# $Id: pextr,v 1.27 2003-01-27 22:30:56 bbos Exp $
16+
# $Id: pextr,v 1.28 2003-07-04 16:11:47 bbos Exp $
1717
#
1818

1919
$PROGNAME = substr($0, rindex($0, "/") + 1);
@@ -82,7 +82,7 @@ print output "</div>\n\n";
8282

8383
sub clean {
8484
$_[0] =~ s/<([^>']*)>/<span class=\"value-inst-$1\">&lt;$1&gt;<\/span>/g;
85-
$_[0] =~ s/<[']([^']*)[']>/<span class=\"propinst-$1\">'$1'<\/span>/g;
85+
$_[0] =~ s/<[']([^']*)[']>/<span class=\"propinst-$1\">&lt;'$1'&gt;<\/span>/g;
8686
$_[0] =~ s/\{([^\}]*)\}([^{]*)\{\}/<a href=\"$1\">$2<\/a>/g;
8787
return $_[0];
8888
}

0 commit comments

Comments
 (0)