@@ 93-95 (lines=3) @@ | ||
90 | } |
|
91 | ||
92 | private function replaceContent($element, $content) { |
|
93 | if (!$this->appendToIfNode($element, $content, $element->parentNode)) { |
|
94 | $element->parentNode->appendChild($element->ownerDocument->createElement('span', implode('', $content))); |
|
95 | } |
|
96 | $element->setAttribute('transphporm', 'remove'); |
|
97 | } |
|
98 | ||
@@ 100-102 (lines=3) @@ | ||
97 | } |
|
98 | ||
99 | private function appendContent($element, $content) { |
|
100 | if (!$this->appendToIfNode($element, $content, $element)) { |
|
101 | $element->appendChild($element->ownerDocument->createTextNode(implode('', $content))); |
|
102 | } |
|
103 | } |
|
104 | ||
105 | private function removeAllChildren($element) { |