mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
docs: page: Fix declaration of main javascript source
Per the w3 html validator a HTML/XML comment is not allowed inside the <script> tag, use a space instead as it must be a pair tag. Additionally drop the 'type' attribute as it's not needed (validator warns about it). Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
e7ddd7e8e4
commit
6ecbc16050
@ -44,8 +44,9 @@
|
|||||||
<meta name="go-import" content="{/html:html/html:head/html:meta[@name='go-import']/@content}"/>
|
<meta name="go-import" content="{/html:html/html:head/html:meta[@name='go-import']/@content}"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
<script type="text/javascript" src="{$asset_href_base}js/main.js">
|
<!-- force non-empty script tag -->
|
||||||
<xsl:comment>// forces non-empty element</xsl:comment>
|
<script src="{$asset_href_base}js/main.js">
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body onload="pageload()">
|
<body onload="pageload()">
|
||||||
|
Loading…
Reference in New Issue
Block a user