fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Escaping file names properly
[redakcja.git]
/
redakcja
/
static
/
xsl
/
wl2html_client.xsl
diff --git
a/redakcja/static/xsl/wl2html_client.xsl
b/redakcja/static/xsl/wl2html_client.xsl
index
55b3bf5
..
f5f4e04
100644
(file)
--- 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" />
-->
<xsl:template match="sekcja_swiatlo">
<xsl:param name="mixed" />
- <
br><xsl:call-template name="standard-attributes" /></b
r>
+ <
hr><xsl:call-template name="standard-attributes" /></h
r>
</xsl:template>
<xsl:template match="sekcja_asterysk">
<xsl:param name="mixed" />
</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">
</xsl:template>
<xsl:template match="separator_linia">
@@
-659,7
+659,12
@@
<xsl:template match="zastepnik_wersu">
<xsl:param name="mixed" />
<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>
<!--
</xsl:template>
<!--
@@
-777,7
+782,10
@@
</xsl:template>
<xsl:template match="*">
</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>
<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: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>