# HG changeset patch
# User František Kučera <franta-hg@frantovo.cz>
# Date 1325777096 -3600
# Node ID ae8222d2c903ae6547a5475b1691d780615c4532
# Parent  0be359e4c06ffe47ada79a8eb4f77f626b141837
Tabulek #15: více tabulátorů.

diff -r 0be359e4c06f -r ae8222d2c903 šablona/stránka.xsl
--- a/šablona/stránka.xsl	Thu Jan 05 16:19:22 2012 +0100
+++ b/šablona/stránka.xsl	Thu Jan 05 16:24:56 2012 +0100
@@ -227,7 +227,7 @@
     		<xsl:variable name="tělo" select="substring-after($data, '&#10;')"/>
     		<thead>
     			<tr>
-    				<xsl:for-each select="tokenize($hlavička, '\t')">
+    				<xsl:for-each select="tokenize($hlavička, '\t+')">
     					<xsl:if test="normalize-space(.)">
 							<td><xsl:value-of select="normalize-space(.)"/></td>
 						</xsl:if>
@@ -238,7 +238,7 @@
 				<xsl:for-each select="tokenize($tělo, '\n')">
 					<xsl:if test="normalize-space(.)">
 						<tr>
-							<xsl:for-each select="tokenize(., '\t')">
+							<xsl:for-each select="tokenize(., '\t+')">
 								<xsl:if test="normalize-space(.)">
 									<td><xsl:value-of select="normalize-space(.)"/></td>
 								</xsl:if>