|
|
@@ -74,9 +74,11 @@ class QRMarkup extends QROutputAbstract{
|
|
|
$html .= '</div>'.$this->options->eol;
|
|
|
|
|
|
if($file !== null){
|
|
|
- return '<!DOCTYPE html>'.
|
|
|
- '<head><meta charset="UTF-8"><title>QR Code</title></head>'.
|
|
|
- '<body>'.$this->options->eol.$html.'</body>';
|
|
|
+ /** @noinspection HtmlRequiredLangAttribute */
|
|
|
+ return sprintf(
|
|
|
+ '<!DOCTYPE html><html><head><meta charset="UTF-8"><title>QR Code</title></head><body>%s</body></html>',
|
|
|
+ $this->options->eol.$html
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
return $html;
|