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

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 '

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