This commit is contained in:
skyanth
2019-06-07 13:14:10 +02:00
parent 5c6a60fa70
commit 461a13861d

View File

@@ -3,7 +3,7 @@
xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0">
<xsl:template name="checkLinkValidity">
<xsl:if test="not(starts-with(@href, '#')) and not(contains(@href, '://') and not(contains(@href, 'mailto:'))">
<xsl:if test="not(starts-with(@href, '#')) and not(contains(@href, '://')) and not(contains(@href, 'mailto:'))">
<xsl:call-template name="displayErrorText">
<xsl:with-param name="string">[ Invalid link: use #[id] for internal links or a
well-formed url for external ones ]</xsl:with-param>