@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | $this->quirks = $quirks; |
247 | 247 | |
248 | 248 | if ($this->insertMode > static::IM_INITIAL) { |
249 | - $this->parseError('Illegal placement of DOCTYPE tag. Ignoring: ' . $name); |
|
249 | + $this->parseError('Illegal placement of DOCTYPE tag. Ignoring: '.$name); |
|
250 | 250 | |
251 | 251 | return; |
252 | 252 | } |
@@ -369,7 +369,7 @@ discard block |
||
369 | 369 | $prefix = ($pos = strpos($lname, ':')) ? substr($lname, 0, $pos) : ''; |
370 | 370 | |
371 | 371 | if (false !== $needsWorkaround) { |
372 | - $xml = "<$lname xmlns=\"$needsWorkaround\" " . (strlen($prefix) && isset($this->nsStack[0][$prefix]) ? ("xmlns:$prefix=\"" . $this->nsStack[0][$prefix] . '"') : '') . '/>'; |
|
372 | + $xml = "<$lname xmlns=\"$needsWorkaround\" ".(strlen($prefix) && isset($this->nsStack[0][$prefix]) ? ("xmlns:$prefix=\"".$this->nsStack[0][$prefix].'"') : '').'/>'; |
|
373 | 373 | |
374 | 374 | $frag = new \DOMDocument('1.0', 'UTF-8'); |
375 | 375 | $frag->loadXML($xml); |
@@ -536,7 +536,7 @@ discard block |
||
536 | 536 | } |
537 | 537 | |
538 | 538 | if (!$this->autoclose($lname)) { |
539 | - $this->parseError('Could not find closing tag for ' . $lname); |
|
539 | + $this->parseError('Could not find closing tag for '.$lname); |
|
540 | 540 | } |
541 | 541 | |
542 | 542 | switch ($lname) { |