xsl/ical: put link in DESCRIPTION too

This commit is contained in:
Astro 2017-12-09 22:55:41 +01:00
parent 1879da3e31
commit 9d1b8a274e
1 changed files with 11 additions and 3 deletions

View File

@ -166,11 +166,19 @@
</xsl:template>
<xsl:template match="link">
<xsl:variable name="url">
<xsl:call-template name="make-href">
<xsl:with-param name="href" select="string(.)"/>
</xsl:call-template>
</xsl:variable>
<xsl:text>URL:</xsl:text>
<xsl:call-template name="make-href">
<xsl:with-param name="href" select="string(.)"/>
</xsl:call-template>
<xsl:value-of select="$url"/>
<xsl:text>&#13;&#10;</xsl:text>
<xsl:text>DESCRIPTION:&lt;</xsl:text>
<xsl:value-of select="$url"/>
<xsl:text>&gt;&#13;&#10;</xsl:text>
</xsl:template>
<xsl:template match="location">