diff options
author | Andres Rey <[email protected]> | 2018-11-18 20:41:12 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2018-11-18 20:41:12 +0000 |
commit | faa412165e7d44b48f6e344af00adaa29bbc3fdb (patch) | |
tree | c038f9081679b2a11e2fdebc044fdb59ef85e360 /src/Nodes | |
parent | ffccb240b1bb81136c45360a14adcbfd8d35e3b7 (diff) |
Import node attributes by default when setting a new tag
Diffstat (limited to 'src/Nodes')
-rw-r--r-- | src/Nodes/NodeUtility.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |