fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More fixes in Filebrowser.
[redakcja.git]
/
platforma
/
static
/
xsl
/
wl2html_client.xsl
diff --git
a/platforma/static/xsl/wl2html_client.xsl
b/platforma/static/xsl/wl2html_client.xsl
index
fa3665b
..
d7f397d
100755
(executable)
--- a/
platforma/static/xsl/wl2html_client.xsl
+++ b/
platforma/static/xsl/wl2html_client.xsl
@@
-7,9
+7,9
@@
-->
<xsl:output method="xml" encoding="utf-8" indent="no" omit-xml-declaration="yes" />
-->
<xsl:output method="xml" encoding="utf-8" indent="no" omit-xml-declaration="yes" />
- <xsl:template match="/">
+ <
!-- <
xsl:template match="/">
<xsl:apply-templates select="chunk|utwor" />
<xsl:apply-templates select="chunk|utwor" />
- </xsl:template>
+ </xsl:template>
-->
<!--
Base tag for rendering a fragment of text
<!--
Base tag for rendering a fragment of text
@@
-705,7
+705,7
@@
<xsl:param name="mixed" />
<xsl:choose>
<xsl:when test="normalize-space(.) = ''" />
<xsl:param name="mixed" />
<xsl:choose>
<xsl:when test="normalize-space(.) = ''" />
- <xsl:when test="not($mixed)"><div x-node="out-of-flow-text" class="out-of-flow-text"><xsl:value-of select="." /></div></xsl:when>
+ <xsl:when test="not($mixed)"><div x-node="out-of-flow-text" class="out-of-flow-text"
x-editable="true"
><xsl:value-of select="." /></div></xsl:when>
<xsl:otherwise><xsl:value-of select="." /></xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:otherwise><xsl:value-of select="." /></xsl:otherwise>
</xsl:choose>
</xsl:template>
@@
-724,7
+724,11
@@
</xsl:template>
<xsl:template match="*">
</xsl:template>
<xsl:template match="*">
- <error>Unknown tag: <xsl:value-of select="name()" /></error>
+ <div class="unknown-tag" x-node="{name()}">
+ <xsl:apply-templates select="child::node()">
+ <xsl:with-param name="mixed" select="true()" />
+ </xsl:apply-templates>
+ </div>
</xsl:template>
<xsl:template name="context-menu">
</xsl:template>
<xsl:template name="context-menu">