testng/0001-Avoid-accidental-javascript-in-javadoc.patch
Troy Dawson 5d73831f17 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/testng#895c543ab436fc66c0672ac5a95e5819398eef2d
2020-10-15 10:36:07 -07:00

26 lines
850 B
Diff

From bce3019741aeb785658b23095ae408a6c2d8ca35 Mon Sep 17 00:00:00 2001
From: Michael Simacek <msimacek@redhat.com>
Date: Wed, 31 May 2017 13:44:36 +0200
Subject: [PATCH 1/2] 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 450678f..11543e3 100644
--- a/src/main/java/org/testng/xml/TestNGContentHandler.java
+++ b/src/main/java/org/testng/xml/TestNGContentHandler.java
@@ -245,7 +245,7 @@ public class TestNGContentHandler extends DefaultHandler {
}
/**
- * Parse <script>
+ * Parse &lt;script&gt;
*/
private void xmlScript(boolean start, Attributes attributes) {
if (start) {
--
2.17.1