SVGHMI: silence debug output in generated xhtml.
--- a/svghmi/gen_index_xhtml.xslt Tue Mar 30 14:54:43 2021 +0200
+++ b/svghmi/gen_index_xhtml.xslt Tue Mar 30 14:56:04 2021 +0200
@@ -6855,11 +6855,12 @@
<xsl:comment>
<xsl:text>Made with SVGHMI. https://beremiz.org</xsl:text>
</xsl:comment>
- <xsl:comment>
- <xsl:apply-templates select="document('')/*/debug:*"/>
- </xsl:comment>
- <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
- <head/>
+ <html xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <style media="screen" type="text/css">
+ <xsl:value-of select="ns:GetFonts()"/>
+ </style>
+ </head>
<body style="margin:0;overflow:hidden;user-select:none;touch-action:none;">
<xsl:copy-of select="$result_svg"/>
<script>
--- a/svghmi/gen_index_xhtml.ysl2 Tue Mar 30 14:54:43 2021 +0200
+++ b/svghmi/gen_index_xhtml.ysl2 Tue Mar 30 14:56:04 2021 +0200
@@ -64,7 +64,7 @@
comment > Made with SVGHMI. https://beremiz.org
// all debug output from included definitions, as comments
- comment apply "document('')/*/debug:*";
+ // comment apply "document('')/*/debug:*";
html xmlns="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg"