@@ -41,5 +41,5 @@ |
||
41 | 41 | $document = new \Voku\Helper\HtmlDomParser($html); |
42 | 42 | |
43 | 43 | foreach (find_contains($document, '.lall', 'foo') as $child_dom) { |
44 | - echo $child_dom->html() . "\n"; |
|
44 | + echo $child_dom->html()."\n"; |
|
45 | 45 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | } |
25 | 25 | |
26 | 26 | $dom = \Voku\Helper\HtmlDomParser::str_get_html($html); |
27 | - $domNew = \Voku\Helper\HtmlDomParser::str_get_html('<textarea ' . $optionStr . '></textarea>'); |
|
27 | + $domNew = \Voku\Helper\HtmlDomParser::str_get_html('<textarea '.$optionStr.'></textarea>'); |
|
28 | 28 | |
29 | 29 | $domElement = $dom->findOneOrFalse($htmlCssSelector); |
30 | 30 | if ($domElement === false) { |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | \strpos($attributeNameNew, 'on') === 0 // e.g. onClick, ... |
56 | 56 | ) { |
57 | 57 | if (isset($attributes[$attributeNameNew])) { |
58 | - $attributes[$attributeNameNew] .= ' ' . $attributeValueNew; |
|
58 | + $attributes[$attributeNameNew] .= ' '.$attributeValueNew; |
|
59 | 59 | } else { |
60 | 60 | $attributes[$attributeNameNew] = $attributeValueNew; |
61 | 61 | } |