Commit 5b9c13f2 authored by Markus Koschany's avatar Markus Koschany

Fix netbeans-html.parser.patch

parent 4b75f35b
......@@ -7,14 +7,14 @@ nu.validator.htmlparser.
Forwarded: not-needed
---
.../org/netbeans/modules/html/parser/ParseTreeBuilder.java | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
.../src/org/netbeans/modules/html/parser/ParseTreeBuilder.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/html.parser/src/org/netbeans/modules/html/parser/ParseTreeBuilder.java b/html.parser/src/org/netbeans/modules/html/parser/ParseTreeBuilder.java
index f261442..7d2dfc8 100644
index f261442..ae8dde1 100644
--- a/html.parser/src/org/netbeans/modules/html/parser/ParseTreeBuilder.java
+++ b/html.parser/src/org/netbeans/modules/html/parser/ParseTreeBuilder.java
@@ -125,6 +125,16 @@ public class ParseTreeBuilder extends CoalescingTreeBuilder<Named> implements Tr
@@ -125,6 +125,11 @@ public class ParseTreeBuilder extends CoalescingTreeBuilder<Named> implements Tr
}
}
......@@ -22,20 +22,7 @@ index f261442..7d2dfc8 100644
+ HtmlAttributes html, Named a, Named b) {
+ return createAndInsertFosterParentedElement(s, t, html, a, b);
+ }
+
+ protected Named createElement(String s, String t, HtmlAttributes html,
+ Named a) {
+ return createElement(s, t, html, a);
+ }
+
public Node getRoot() {
return root;
}
@@ -496,7 +506,6 @@ public class ParseTreeBuilder extends CoalescingTreeBuilder<Named> implements Tr
}
//create open tag element
- @Override
protected Named createElement(String namespace, String name, HtmlAttributes attributes) throws SAXException {
if(LOG) {
LOGGER.fine(String.format("createElement(%s)", name));//NOI18N
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment