2002/css-validator/org/w3c/css/css StyleSheetGeneratorHTML2.java,1.11,1.12

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

Modified Files:
	StyleSheetGeneratorHTML2.java 
Log Message:
display bug and multilingual text bug fixed - thanks to Carlos Iglesias

Index: StyleSheetGeneratorHTML2.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/StyleSheetGeneratorHTML2.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- StyleSheetGeneratorHTML2.java	25 Nov 2004 13:29:30 -0000	1.11
+++ StyleSheetGeneratorHTML2.java	17 Jan 2005 02:46:33 -0000	1.12
@@ -223,7 +223,7 @@
         ret.append(" : <a href=\"");
         ret.append(getURLProperty("@url-base"));
         ret.append(getURLProperty(name)).append("\">");
-        ret.append(name).append("</a>");
+        ret.append(name).append("</a> ");
     }
     if ((error.getException() != null) && (error.getMessage() != null)) {
         if (error.isParseException()) {
@@ -360,9 +360,10 @@
                 !warn.getWarningMessage().equals(oldMessage)) {
                 oldLine = warn.getLine();
                 oldMessage = warn.getWarningMessage();
-                ret.append("\n<li><span class='warning'>Line : ");
-                ret.append(oldLine);
-                
+                ret.append("\n<li><span class='warning'>");
+                ret.append(ac.getMsg().getGeneratorString("line"));
+                ret.append(" : ");
+                ret.append(oldLine); 
                 if (warn.getLevel() != 0) {
                 ret.append(" Level : ");
                 ret.append(warn.getLevel());

Received on Monday, 17 January 2005 02:46:36 UTC