fnp
/
librarian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eed7ff4
)
hack to prevent self-closing <a> tags
author
Jan Szejko
<janek37@gmail.com>
Mon, 5 Mar 2018 10:26:54 +0000
(11:26 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Mon, 5 Mar 2018 10:26:54 +0000
(11:26 +0100)
librarian/epub/xsltScheme.xsl
patch
|
blob
|
history
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>