@@ -73,8 +73,8 @@ discard block |
||
73 | 73 | |
74 | 74 | if($file !== null){ |
75 | 75 | return '<!DOCTYPE html>'. |
76 | - '<head><meta charset="UTF-8"><title>QR Code</title></head>'. |
|
77 | - '<body>'.$this->options->eol.$html.'</body>'; |
|
76 | + '<head><meta charset="UTF-8"><title>QR Code</title></head>'. |
|
77 | + '<body>'.$this->options->eol.$html.'</body>'; |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | return $html; |
@@ -89,9 +89,9 @@ discard block |
||
89 | 89 | $matrix = $this->matrix->matrix(); |
90 | 90 | |
91 | 91 | $svg = sprintf($this->svgHeader, $this->options->cssClass, $this->options->svgViewBoxSize ?? $this->moduleCount) |
92 | - .$this->options->eol |
|
93 | - .'<defs>'.$this->options->svgDefs.'</defs>' |
|
94 | - .$this->options->eol; |
|
92 | + .$this->options->eol |
|
93 | + .'<defs>'.$this->options->svgDefs.'</defs>' |
|
94 | + .$this->options->eol; |
|
95 | 95 | |
96 | 96 | foreach($this->moduleValues as $M_TYPE => $value){ |
97 | 97 | $path = ''; |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | // if saving to file, append the correct headers |
146 | 146 | if($file !== null){ |
147 | 147 | return '<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'. |
148 | - $this->options->eol.$svg; |
|
148 | + $this->options->eol.$svg; |
|
149 | 149 | } |
150 | 150 | |
151 | 151 | if($this->options->imageBase64){ |