From 06ff107d6f1b8942089f058c67928fec09d3ace5 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 11 Apr 2023 18:26:31 +0200 Subject: [PATCH] Fix XSLT quirk (Thanks Tedd) In Firefox the XML+XSLT would render in some weird mode causing some CSS rules, notably the dark mode background to be applied wrong, or if it was the box model that was different. --- xep.xsl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/xep.xsl b/xep.xsl index e28603ab..9dda9433 100644 --- a/xep.xsl +++ b/xep.xsl @@ -34,7 +34,7 @@ OR OTHER DEALINGS IN THE SOFTWARE. - + @@ -170,8 +170,6 @@ OR OTHER DEALINGS IN THE SOFTWARE. - <!DOCTYPE html> - XEP-<xsl:value-of select='/xep/header/number'/>:<xsl:text> </xsl:text><xsl:value-of select='/xep/header/title' /> @@ -191,7 +189,7 @@ content: "XEP-"; viewport - width=device-width, initial-scale=1.0, maximum-scale=2.0 + width=device-width, initial-scale=1.0