Fixed coding style.
authorMarco Zanon <info@marcozanon.com>
Mon, 21 Mar 2022 14:31:38 +0000 (14:31 +0000)
committerMarco Zanon <info@marcozanon.com>
Mon, 21 Mar 2022 14:31:38 +0000 (14:31 +0000)
7.x/src/main/java/com/marcozanon/macaco/text/MText.java

index 8203705f10ffd598b73bc4866054ade3aeca16b0..0442379bb917c1e7132a45c02f59267c346faaec 100644 (file)
@@ -128,7 +128,7 @@ public class MText extends MObject {
         return text;
     }
 
-    /* Xhtml escape and safety. */
+    /* XHTML escape and safety. */
 
     public static String getXhtmlEscapedString(String x) { // similar to PHP's htmlspecialchars()
         if (null == x) {
@@ -421,7 +421,7 @@ public class MText extends MObject {
         fakeXhtmlPageContent.append("<head><title /></head>");
         fakeXhtmlPageContent.append(String.format("<body>%s</body>", text));
         fakeXhtmlPageContent.append("</html>");
-        // Validate Xhtml (with no dangerous tags and event attributes).
+        // Validate XHTML (with no dangerous tags and event attributes).
         try {
             SAXParserFactory factory = SAXParserFactory.newInstance();
             factory.setValidating(true);