The 'html' tag is missing in HTML output

This commit is contained in:
Trismegiste
2022-12-05 09:43:19 +01:00
parent 7fd54b78d8
commit 6bca964b6d
+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
);
}