X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/bea8d1caad32069ceb8c68feea989fc551b7917d..6d48dc65380f540f4471e5c890fcf27b2a240374:/redakcja/static/xsl/wl2html_client.xsl diff --git a/redakcja/static/xsl/wl2html_client.xsl b/redakcja/static/xsl/wl2html_client.xsl index e0c6d8bd..4f642918 100644 --- a/redakcja/static/xsl/wl2html_client.xsl +++ b/redakcja/static/xsl/wl2html_client.xsl @@ -189,6 +189,16 @@ </div> </xsl:template> + <xsl:template match="nota_red"> + <xsl:param name="mixed" /> + <div> + <xsl:call-template name="standard-attributes" /> + <xsl:apply-templates select="child::node()"> + <xsl:with-param name="mixed" select="false()" /> + </xsl:apply-templates> + </div> + </xsl:template> + <!-- Tagi obejmujÄ ce tekst dedykacji (styl wieloakapitowy bÄ dź wielostrofowy): <dedykacja> tekst-dedykacji </dedykacja> @@ -634,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"> @@ -649,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> <!-- @@ -810,5 +825,16 @@ </xsl:choose> </xsl:for-each> </xsl:template> - -</xsl:stylesheet> \ No newline at end of file + + <xsl:template match="alien"> + <span class="alien" x-pass-thru="true"> + <xsl:apply-templates select="node()"> + <xsl:with-param name="mixed" select="true()" /> + </xsl:apply-templates> + </span> + </xsl:template> + + <xsl:template match="comment()"> + <xsl:comment><xsl:value-of select="."/></xsl:comment> + </xsl:template> +</xsl:stylesheet>