fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix special chars in link url
[librarian.git]
/
librarian
/
xslt
/
book2html.xslt
diff --git
a/librarian/xslt/book2html.xslt
b/librarian/xslt/book2html.xslt
index
9e914c5
..
91118fa
100644
(file)
--- a/
librarian/xslt/book2html.xslt
+++ b/
librarian/xslt/book2html.xslt
@@
-470,6
+470,10
@@
<div class="dedication"><xsl:apply-templates /></div>
</xsl:template>
<div class="dedication"><xsl:apply-templates /></div>
</xsl:template>
+<xsl:template match="ramka">
+ <div class="frame"><xsl:apply-templates /></div>
+</xsl:template>
+
<xsl:template match="kwestia">
<div class="kwestia">
<xsl:apply-templates select="strofa|akap|didaskalia" />
<xsl:template match="kwestia">
<div class="kwestia">
<xsl:apply-templates select="strofa|akap|didaskalia" />
@@
-701,6
+705,15
@@
</a>
</xsl:template>
</a>
</xsl:template>
+<xsl:template match="link" mode="inline">
+ <a>
+ <xsl:attribute name="href">
+ <xsl:value-of select="@url"/>
+ </xsl:attribute>
+ <xsl:value-of select="text()"/>
+ </a>
+</xsl:template>
+
<!-- ============================================== -->
<!-- = STANDALONE TAGS = -->
<!-- = (cannot contain any other tags) = -->
<!-- ============================================== -->
<!-- = STANDALONE TAGS = -->
<!-- = (cannot contain any other tags) = -->