docs: page.xsl: Drop passhrough of <script> elements into header

No generated headers have inline javascript.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Peter Krempa 2023-05-25 14:09:22 +02:00
parent 464450772f
commit 54c1f31fda

View File

@ -56,7 +56,6 @@
<xsl:if test="$pagesrc = 'docs/go/libvirtxml.rst'"> <xsl:if test="$pagesrc = 'docs/go/libvirtxml.rst'">
<meta name="go-import" content="libvirt.org/go/libvirtxml git https://gitlab.com/libvirt/libvirt-go-xml-module.git"/> <meta name="go-import" content="libvirt.org/go/libvirtxml git https://gitlab.com/libvirt/libvirt-go-xml-module.git"/>
</xsl:if> </xsl:if>
<xsl:apply-templates select="/html:html/html:head/html:script" mode="content"/>
<script type="text/javascript" src="{$href_base}js/main.js"> <script type="text/javascript" src="{$href_base}js/main.js">
<xsl:comment>// forces non-empty element</xsl:comment> <xsl:comment>// forces non-empty element</xsl:comment>