Skip to content

Commit

Permalink
#875@trivial: Continue on implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
capricorn86 committed May 3, 2023
1 parent 5fe64d9 commit f86223c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/happy-dom/src/xml-parser/XMLParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default class XMLParser {
startTag === 'SVG' ? NamespaceURI.svg : (<IElement>currentElement).namespaceURI;
const newElement = document.createElementNS(namespaceURI, startTag);

currentElement.appendChild(currentElement);
currentElement.appendChild(newElement);
currentElement = newElement;
isStartTag = true;
} else if (match[15]) {
Expand Down

0 comments on commit f86223c

Please sign in to comment.