1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

recognize ftp: as remote link

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1561413 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
André Malo
2014-01-25 22:14:45 +00:00
parent 4255fbcdbf
commit ff4338d2df

View File

@@ -298,7 +298,7 @@ interpreted in pre -->
</xsl:variable>
<xsl:choose>
<xsl:when test="starts-with(@href, 'http:') or starts-with(@href, 'https:') or starts-with(@href, 'news:') or starts-with(@href, 'mailto:')">
<xsl:when test="starts-with(@href, 'http:') or starts-with(@href, 'https:') or starts-with(@href, 'ftp:') or starts-with(@href, 'news:') or starts-with(@href, 'mailto:')">
<xsl:if test="not(.=@href)">
<xsl:text>\footnote{</xsl:text>
<xsl:text>\href{</xsl:text>