@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | $xml = ''; |
54 | 54 | |
55 | 55 | foreach ($nodes as $n) { |
56 | - $xml .= static::exportNode($dom, $n, $html) . PHP_EOL; |
|
56 | + $xml .= static::exportNode($dom, $n, $html).PHP_EOL; |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | return \rtrim($xml); |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | $nodes = (new \DOMXPath($dom))->query($query); |
96 | 96 | |
97 | 97 | foreach ($nodes as $n) { |
98 | - if (! \in_array($n->nodeName, $voids)) { |
|
98 | + if (!\in_array($n->nodeName, $voids)) { |
|
99 | 99 | // If it is not a void/empty tag, |
100 | 100 | // we need to leave the tag open. |
101 | 101 | $n->appendChild(new \DOMProcessingInstruction('X-NOT-VOID')); |