|
@@ -23,7 +23,7 @@ discard block |
|
|
block discarded – undo |
|
23
|
23
|
} |
|
24
|
24
|
|
|
25
|
25
|
$dom = \voku\helper\HtmlDomParser::str_get_html($html); |
|
26
|
|
- $domNew = \voku\helper\HtmlDomParser::str_get_html('<textarea ' . $optionStr . '></textarea>'); |
|
|
26
|
+ $domNew = \voku\helper\HtmlDomParser::str_get_html('<textarea '.$optionStr.'></textarea>'); |
|
27
|
27
|
|
|
28
|
28
|
$domElement = $dom->findOneOrFalse($htmlCssSelector); |
|
29
|
29
|
if ($domElement === false) { |
|
@@ -54,7 +54,7 @@ discard block |
|
|
block discarded – undo |
|
54
|
54
|
\strpos($attributeNameNew, 'on') === 0 // e.g. onClick, ... |
|
55
|
55
|
) { |
|
56
|
56
|
if (isset($attributes[$attributeNameNew])) { |
|
57
|
|
- $attributes[$attributeNameNew] .= ' ' . $attributeValueNew; |
|
|
57
|
+ $attributes[$attributeNameNew] .= ' '.$attributeValueNew; |
|
58
|
58
|
} else { |
|
59
|
59
|
$attributes[$attributeNameNew] = $attributeValueNew; |
|
60
|
60
|
} |
Please login to merge, or discard this patch.