diff --git a/Built-In-Output/QRMarkupXML.html b/Built-In-Output/QRMarkupXML.html index e08eca243..6e75c54fe 100644 --- a/Built-In-Output/QRMarkupXML.html +++ b/Built-In-Output/QRMarkupXML.html @@ -431,7 +431,9 @@
$data = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ';
$out = (new QRCode($options))->render($data); // -> XML, rendered as SVG
-printf('<img alt="%s" src="%s" />', $alt, $out);
+header('Content-type: application/xml');
+
+echo $out;
The associated XML schema can be found over at GitHub: qrcode.schema.xsd