Changeset 37:2e4e7891a2f7 for šablona/stránka.xsl
- Timestamp:
- 09/13/11 18:06:07 (13 years ago)
- Branch:
- default
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
šablona/stránka.xsl
r36 r37 170 170 </xsl:choose> 171 171 </xsl:template> 172 173 <!-- 174 Makro pro Wiki syntaxi 175 --> 176 <xsl:template match="m:wiki"> 177 <xsl:variable name="wikiXHTML" select="j:formátujWiki(text(), @syntaxe)"/> 178 <xsl:choose> 179 <xsl:when test="$wikiXHTML"> 180 <xsl:value-of select="$wikiXHTML" disable-output-escaping="yes"/> 181 </xsl:when> 182 <xsl:otherwise> 183 <xsl:message terminate="yes">Při zpracování wiki syntaxe došlo k chybě.</xsl:message> 184 </xsl:otherwise> 185 </xsl:choose> 186 </xsl:template> 172 187 173 188 </xsl:stylesheet>