Skip to content

Commit

Permalink
fix regex for urls where ampersand follows the ID
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimnielandt authored and fxprunayre committed Mar 18, 2024
1 parent 5cad218 commit fc1beb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@
<xsl:variable name="getRecordByIdId">
<xsl:if test="@xlink:href != ''">
<xsl:analyze-string select="@xlink:href"
regex=".*[i|I][d|D]=([_\w\-\.\{{\}}]*).*">
regex=".*[i|I][d|D]=([a-zA-Z0-9\-\.\{{\}}]*).*">
<xsl:matching-substring>
<xsl:value-of select="regex-group(1)"/>
</xsl:matching-substring>
Expand Down

0 comments on commit fc1beb8

Please sign in to comment.