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

28 lines
984 B
Diff
Raw Normal View History

From bce3019741aeb785658b23095ae408a6c2d8ca35 Mon Sep 17 00:00:00 2001
2017-05-31 11:46:43 +00:00
From: Michael Simacek <msimacek@redhat.com>
Date: Wed, 31 May 2017 13:44:36 +0200
Subject: [PATCH 1/2] Avoid accidental javascript in javadoc
2017-05-31 11:46:43 +00:00
---
2022-09-26 14:17:05 +00:00
testng-core/src/main/java/org/testng/xml/TestNGContentHandler.java | 4 +++-
2019-06-06 12:19:34 +00:00
1 file changed, 3 insertions(+), 1 deletion(-)
2017-05-31 11:46:43 +00:00
2022-09-26 14:17:05 +00:00
diff --git a/testng-core/src/main/java/org/testng/xml/TestNGContentHandler.java b/testng-core/src/main/java/org/testng/xml/TestNGContentHandler.java
2019-06-06 12:19:34 +00:00
index b74572a..7c490e9 100644
2022-09-26 14:17:05 +00:00
--- a/testng-core/src/main/java/org/testng/xml/TestNGContentHandler.java
+++ b/testng-core/src/main/java/org/testng/xml/TestNGContentHandler.java
2019-06-06 12:19:34 +00:00
@@ -250,7 +250,9 @@ public class TestNGContentHandler extends DefaultHandler {
}
2017-05-31 11:46:43 +00:00
}
2019-06-06 12:19:34 +00:00
- /** Parse <script> */
+ /**
2017-05-31 11:46:43 +00:00
+ * Parse &lt;script&gt;
2019-06-06 12:19:34 +00:00
+ */
2017-05-31 11:46:43 +00:00
private void xmlScript(boolean start, Attributes attributes) {
if (start) {
2019-06-06 12:19:34 +00:00
m_currentLanguage = attributes.getValue("language");
2017-05-31 11:46:43 +00:00
--
2019-06-06 12:19:34 +00:00
2.20.1
2017-05-31 11:46:43 +00:00