X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9c5634fbc60d6e9dbb9f28d4cbbabd9822498646..640d11fef169776470b1db579b49da9c7ff59d9e:/redakcja/static/xsl/wl2html_client.xsl diff --git a/redakcja/static/xsl/wl2html_client.xsl b/redakcja/static/xsl/wl2html_client.xsl index 55b3bf54..f5f4e04d 100644 --- a/redakcja/static/xsl/wl2html_client.xsl +++ b/redakcja/static/xsl/wl2html_client.xsl @@ -644,12 +644,12 @@ --> <xsl:template match="sekcja_swiatlo"> <xsl:param name="mixed" /> - <br><xsl:call-template name="standard-attributes" /></br> + <hr><xsl:call-template name="standard-attributes" /></hr> </xsl:template> <xsl:template match="sekcja_asterysk"> <xsl:param name="mixed" /> - <hr><xsl:call-template name="standard-attributes" /></hr> + <p><xsl:call-template name="standard-attributes" /></p> </xsl:template> <xsl:template match="separator_linia"> @@ -659,7 +659,12 @@ <xsl:template match="zastepnik_wersu"> <xsl:param name="mixed" /> - <hr><xsl:call-template name="standard-attributes" /></hr> + <span> + <xsl:call-template name="standard-attributes" /> + <xsl:apply-templates select="child::node()"> + <xsl:with-param name="mixed" select="true()" /> + </xsl:apply-templates> + </span> </xsl:template> <!-- @@ -777,7 +782,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> @@ -828,4 +836,8 @@ </xsl:apply-templates> </span> </xsl:template> -</xsl:stylesheet> \ No newline at end of file + + <xsl:template match="comment()"> + <xsl:comment><xsl:value-of select="."/></xsl:comment> + </xsl:template> +</xsl:stylesheet>