Quellcode durchsuchen

The 'html' tag is missing in HTML output

Trismegiste vor 3 Jahren
Ursprung
Commit
6bca964b6d
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/Output/QRMarkupHTML.php

+ 1 - 1
src/Output/QRMarkupHTML.php

@@ -42,7 +42,7 @@ class QRMarkupHTML extends QRMarkup{
 		// wrap the snippet into a body when saving to file
 		// wrap the snippet into a body when saving to file
 		if($saveToFile){
 		if($saveToFile){
 			$html = sprintf(
 			$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
 				$this->options->eol.$html
 			);
 			);
 		}
 		}