From faa412165e7d44b48f6e344af00adaa29bbc3fdb Mon Sep 17 00:00:00 2001 From: Andres Rey Date: Sun, 18 Nov 2018 20:41:12 +0000 Subject: Import node attributes by default when setting a new tag --- src/Nodes/NodeUtility.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Nodes/NodeUtility.php') diff --git a/src/Nodes/NodeUtility.php b/src/Nodes/NodeUtility.php index a3d8509..4f12a4b 100644 --- a/src/Nodes/NodeUtility.php +++ b/src/Nodes/NodeUtility.php @@ -62,7 +62,7 @@ class NodeUtility * * @return DOMNode */ - public static function setNodeTag($node, $value, $importAttributes = false) + public static function setNodeTag($node, $value, $importAttributes = true) { $new = new DOMDocument('1.0', 'utf-8'); $new->appendChild($new->createElement($value)); -- cgit v1.2.3