# HG changeset patch # User Edouard Tisserant # Date 1617108964 -7200 # Node ID 2b5b3f4f26f0c6905a8c4a6880fcd7adad2f94b6 # Parent 938b55abe9469986b77050bdca40a3d245269be3 SVGHMI: silence debug output in generated xhtml. diff -r 938b55abe946 -r 2b5b3f4f26f0 svghmi/gen_index_xhtml.xslt --- 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> diff -r 938b55abe946 -r 2b5b3f4f26f0 svghmi/gen_index_xhtml.ysl2 --- 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"