]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: page: Add 'lang="en"' for all HTML output documents
authorPeter Krempa <pkrempa@redhat.com>
Thu, 29 Feb 2024 12:06:31 +0000 (13:06 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 1 Mar 2024 11:51:55 +0000 (12:51 +0100)
Per the w3 HTML validator the 'lang' attribute is suggested.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
docs/page.xsl

index a51587db6cd6b27e05b0b4d8ff4db9f37f38978c..7dcbc2d7a4ea4a23e86840f715f127bcdb2dcec0 100644 (file)
@@ -21,7 +21,7 @@
     <xsl:param name="asset_href_base"/>
     <xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html&gt;
 </xsl:text>
-    <html data-sourcedoc="{$pagesrc}">
+    <html lang="en" data-sourcedoc="{$pagesrc}">
       <xsl:comment>
         This file is autogenerated from <xsl:value-of select="$pagesrc"/>
         Do not edit this file. Changes will be lost.