summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5b6ed12)
This is needed because another template with
match="a[@data-expanded-url]" will be added in a future commit.
<xsl:text>https://twitter.com</xsl:text>
</xsl:variable>
<xsl:text>https://twitter.com</xsl:text>
</xsl:variable>
- <xsl:template match="a[@data-expanded-url]">
+ <xsl:template match="a[@data-expanded-url]" mode="enclosure">
<xsl:copy-of select="php:function('Tweeper::generateEnclosure', string(./@data-expanded-url))"/>
</xsl:template>
<xsl:copy-of select="php:function('Tweeper::generateEnclosure', string(./@data-expanded-url))"/>
</xsl:template>
<xsl:text disable-output-escaping="yes">]]></xsl:text>
</description>
<xsl:if test="$generate-enclosure = 1">
<xsl:text disable-output-escaping="yes">]]></xsl:text>
</description>
<xsl:if test="$generate-enclosure = 1">
- <xsl:apply-templates select="$item-content//a[@data-expanded-url]"/>
+ <xsl:apply-templates select="$item-content//a[@data-expanded-url]" mode="enclosure"/>
</xsl:if>
</item>
</xsl:template>
</xsl:if>
</item>
</xsl:template>