testng/0001-Avoid-accidental-javascript-in-javadoc.patch

26 lines
845 B
Diff
Raw Normal View History

2017-05-31 11:46:43 +00:00
From 214bd64764a48c5c3ad68829e0e35377f45ce221 Mon Sep 17 00:00:00 2001
From: Michael Simacek <msimacek@redhat.com>
Date: Wed, 31 May 2017 13:44:36 +0200
Subject: [PATCH] Avoid accidental javascript in javadoc
---
src/main/java/org/testng/xml/TestNGContentHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/testng/xml/TestNGContentHandler.java b/src/main/java/org/testng/xml/TestNGContentHandler.java
index e36c413..da9a069 100755
--- a/src/main/java/org/testng/xml/TestNGContentHandler.java
+++ b/src/main/java/org/testng/xml/TestNGContentHandler.java
@@ -240,7 +240,7 @@ public class TestNGContentHandler extends DefaultHandler {
}
/**
- * Parse <script>
+ * Parse &lt;script&gt;
*/
private void xmlScript(boolean start, Attributes attributes) {
if (start) {
--
2.9.4