From: Marco Zanon Date: Mon, 21 Mar 2022 14:31:38 +0000 (+0000) Subject: Fixed coding style. X-Git-Tag: SVN-to-Git~34 X-Git-Url: https://gitweb.marcozanon.com/?a=commitdiff_plain;h=518dd80e6523c16b8baa4d9f9e1441aff2d186d9;p=Macaco Fixed coding style. --- diff --git a/7.x/src/main/java/com/marcozanon/macaco/text/MText.java b/7.x/src/main/java/com/marcozanon/macaco/text/MText.java index 8203705..0442379 100644 --- a/7.x/src/main/java/com/marcozanon/macaco/text/MText.java +++ b/7.x/src/main/java/com/marcozanon/macaco/text/MText.java @@ -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>"); 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);