Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
zyc9012 committed Sep 1, 2024
1 parent 33f95e5 commit 7a29dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/0004-lexbor-fix-template-clone.patch
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ index a2153f4..8a9c69f 100755

+ if (curr->local_name == LXB_TAG_TEMPLATE && curr->first_child != NULL && cnode->type == LXB_DOM_NODE_TYPE_DOCUMENT_FRAGMENT) {
+ lxb_dom_node_remove(curr->first_child);
+ lxb_html_interface_template(curr)->content = cnode;
+ lxb_html_interface_template(curr)->content = (lxb_dom_document_fragment_t *)cnode;
+ }
+
lxb_dom_node_insert_child(curr, cnode);
Expand Down

0 comments on commit 7a29dc2

Please sign in to comment.