fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix chapter titles in toc
[librarian.git]
/
librarian
/
epub
/
xsltScheme.xsl
diff --git
a/librarian/epub/xsltScheme.xsl
b/librarian/epub/xsltScheme.xsl
index
4031949
..
e67cda7
100644
(file)
--- a/
librarian/epub/xsltScheme.xsl
+++ b/
librarian/epub/xsltScheme.xsl
@@
-142,14
+142,14
@@
</xsl:template>
<xsl:template match="naglowek_scena">
</xsl:template>
<xsl:template match="naglowek_scena">
- <a id="sub{@sub}" xmlns="http://www.w3.org/1999/xhtml"></a>
+ <a id="sub{@sub}" xmlns="http://www.w3.org/1999/xhtml"><
xsl:comment/><!-- hack to keep closing tags --><
/a>
<h2 class="h3" xmlns="http://www.w3.org/1999/xhtml">
<xsl:apply-templates />
</h2>
</xsl:template>
<xsl:template match="naglowek_podrozdzial">
<h2 class="h3" xmlns="http://www.w3.org/1999/xhtml">
<xsl:apply-templates />
</h2>
</xsl:template>
<xsl:template match="naglowek_podrozdzial">
- <a id="sub{@sub}" xmlns="http://www.w3.org/1999/xhtml"></a>
+ <a id="sub{@sub}" xmlns="http://www.w3.org/1999/xhtml"><
xsl:comment/><!-- same as above --><
/a>
<h2 class="h4" xmlns="http://www.w3.org/1999/xhtml">
<xsl:apply-templates />
</h2>
<h2 class="h4" xmlns="http://www.w3.org/1999/xhtml">
<xsl:apply-templates />
</h2>