Changeset 719d0fc for common/urls.xsl


Ignore:
Timestamp:
05/07/2014 03:30:33 PM (10 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
c6ee8ea
Parents:
cbfba99
Message:

Correct urls generation when there is a trailing slash (thanks to sourceforge
for the homework;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/urls.xsl

    rcbfba99 r719d0fc  
    118118    <xsl:param name="url"/>
    119119    <xsl:choose>
    120       <xsl:when test="contains($url, '/')">
     120      <xsl:when test="contains($url, '/') and not (substring-after($url,'/')='')">
    121121        <xsl:call-template name="package.name">
    122122          <xsl:with-param name="url" select="substring-after($url, '/')"/>
Note: See TracChangeset for help on using the changeset viewer.