fixing validation bugs: select language not in li, commented out ul without lis it fails validation
svn path=/branches/design/; revision=18428
This commit is contained in:
parent
fa789f4ce2
commit
a4b111ef91
7
fsfe.xsl
7
fsfe.xsl
@ -272,9 +272,10 @@
|
||||
<xsl:attribute name="href">http://planet.fsfe.org</xsl:attribute>
|
||||
Planet
|
||||
</xsl:element>
|
||||
<!-- causes validation errors, needs li to pass validator?
|
||||
<xsl:element name="ul">
|
||||
|
||||
</xsl:element>
|
||||
</xsl:element>-->
|
||||
</xsl:element>
|
||||
|
||||
<!-- Fellowship portal menu -->
|
||||
@ -448,7 +449,9 @@
|
||||
<xsl:sort select="@id"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="@id=/buildinfo/@language">
|
||||
<xsl:value-of select="." disable-output-escaping="yes"/>
|
||||
<xsl:element name="li">
|
||||
<xsl:value-of select="." disable-output-escaping="yes"/>
|
||||
</xsl:element>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:element name="li">
|
||||
|
Loading…
Reference in New Issue
Block a user