Merge pull request #172 from Trismegiste/bugfix-html-output

The 'html' tag is missing in HTML output
This commit is contained in:
smiley
2022-12-05 14:14:03 +01:00
committed by GitHub
+1 -1
View File
@@ -42,7 +42,7 @@ class QRMarkupHTML extends QRMarkup{
// wrap the snippet into a body when saving to file
if($saveToFile){
$html = sprintf(
'<!DOCTYPE html><head><meta charset="UTF-8"><title>QR Code</title></head><body>%s</body>',
'<!DOCTYPE html><html><head><meta charset="UTF-8"><title>QR Code</title></head><body>%s</body></html>',
$this->options->eol.$html
);
}