X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4c48c47d0b84e516114c16ee191359166e93a51c..d55ea605b29c6a30f3e10c20325335a9d4ae672b:/redakcja/static/xsl/wl2html_client.xsl diff --git a/redakcja/static/xsl/wl2html_client.xsl b/redakcja/static/xsl/wl2html_client.xsl index 4f642918..33413afd 100644 --- a/redakcja/static/xsl/wl2html_client.xsl +++ b/redakcja/static/xsl/wl2html_client.xsl @@ -588,7 +588,7 @@ </xsl:choose> </xsl:template> - <xsl:template match="wers_cd|wers_akap|wers_wciety"> + <xsl:template match="wers_cd|wers_akap|wers_wciety|wers_do_prawej"> <xsl:param name="mixed" /> <!-- <xsl:choose> <xsl:when test="ancestor::*[0]/self::strofa"> --> @@ -627,7 +627,7 @@ </em> </xsl:template> - <xsl:template match="wyroznienie|slowo_obce|mat|didask_tekst|osoba|wyp_osoba|www"> + <xsl:template match="wyroznienie|slowo_obce|mat|didask_tekst|osoba|wyp_osoba|www|wieksze_odstepy"> <xsl:param name="mixed" /> <em> <xsl:call-template name="standard-attributes" /> @@ -637,6 +637,16 @@ </em> </xsl:template> + <xsl:template match="indeks_dolny"> + <xsl:param name="mixed" /> + <sub> + <xsl:call-template name="standard-attributes" /> + <xsl:apply-templates select="child::node()"> + <xsl:with-param name="mixed" select="true()" /> + </xsl:apply-templates> + </sub> + </xsl:template> + <!-- ********** SEPARATORY @@ -782,7 +792,10 @@ </xsl:template> <xsl:template match="*"> - <span class="unknown-tag" x-node="{name()}"> + <span> + <xsl:call-template name="standard-attributes"> + <xsl:with-param name="extra-class">unknown-tag</xsl:with-param> + </xsl:call-template> <xsl:apply-templates select="child::node()"> <xsl:with-param name="mixed" select="true()" /> </xsl:apply-templates>