mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-19 01:50:04 +00:00
Merge pull request #172 from Trismegiste/bugfix-html-output
The 'html' tag is missing in HTML output
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user