mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-23 09:42:20 -05:00
XSLT: Use lang='en' on the html root
This tells the user agent that the page is in English, which it can then use for various natural language operations.
This commit is contained in:
parent
27763c3d70
commit
e7e7135ddf
2
xep.xsl
2
xep.xsl
@ -172,7 +172,7 @@ OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
<xsl:template match='/'>
|
<xsl:template match='/'>
|
||||||
<xsl:text disable-output-escaping='yes'><!DOCTYPE html>
|
<xsl:text disable-output-escaping='yes'><!DOCTYPE html>
|
||||||
</xsl:text>
|
</xsl:text>
|
||||||
<html>
|
<html lang='en'>
|
||||||
<head>
|
<head>
|
||||||
<title>XEP-<xsl:value-of select='/xep/header/number'/>:<xsl:text> </xsl:text><xsl:value-of select='/xep/header/title' /></title>
|
<title>XEP-<xsl:value-of select='/xep/header/number'/>:<xsl:text> </xsl:text><xsl:value-of select='/xep/header/title' /></title>
|
||||||
<style type='text/css'>
|
<style type='text/css'>
|
||||||
|
Loading…
Reference in New Issue
Block a user