W3C home > Mailing lists > Public > www-validator-cvs@w3.org > April 2008

2002/css-validator/org/w3c/css/css StyleSheetGenerator.java,1.16,1.17

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 09 Apr 2008 13:02:54 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JjZx0-00032n-Dl@lionel-hutz.w3.org>

Update of /sources/public/2002/css-validator/org/w3c/css/css
In directory hutz:/tmp/cvs-serv11658

Modified Files:
	StyleSheetGenerator.java 
Log Message:
do not escape apostrophe with &apos;

Index: StyleSheetGenerator.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/StyleSheetGenerator.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- StyleSheetGenerator.java	12 Mar 2008 13:09:37 -0000	1.16
+++ StyleSheetGenerator.java	9 Apr 2008 13:02:52 -0000	1.17
@@ -396,7 +396,7 @@
 	    for (int i = 0; i < len; i++) {
 		switch (c = s.charAt(i)) {
 		case '&'  : ret.append("&amp;"); break;
-		case '\'' : ret.append("&apos;"); break;
+		case '\'' : ret.append("&#39;"); break;
 		case '"'  : ret.append("&quot;"); break;
 		case '<'  : ret.append("&lt;"); break;
 		case '>'  : ret.append("&gt;"); break;
Received on Wednesday, 9 April 2008 13:03:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:27 UTC