forked from friendica/friendica-addons
globalise urls now handles relative urls
This commit is contained in:
parent
e5ada18f8e
commit
be09d37331
1 changed files with 5 additions and 0 deletions
|
@ -22,5 +22,10 @@
|
||||||
<xsl:value-of select="concat('{{$rooturl}}',.)"/>
|
<xsl:value-of select="concat('{{$rooturl}}',.)"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
<xsl:template match="*/@src[not(contains(.,':'))]">
|
||||||
|
<xsl:attribute name="src">
|
||||||
|
<xsl:value-of select="concat('{{$dirurl}}',.)"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
Loading…
Add table
Reference in a new issue