Skip to content

Commit

Permalink
Use normalize-space() on link targets
Browse files Browse the repository at this point in the history
Fix: #30
  • Loading branch information
io7m committed Sep 14, 2024
1 parent bb834df commit ae55bf0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
9 changes: 7 additions & 2 deletions README-CHANGES.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,23 @@
<c:change date="2024-05-08T00:00:00+00:00" summary="Update org.junit.jupiter:junit-jupiter-engine:5.10.1 → 5.10.2"/>
</c:changes>
</c:release>
<c:release date="2024-09-14T15:08:30+00:00" is-open="true" ticket-system="com.github.io7m.xstructural" version="1.9.0">
<c:release date="2024-09-14T15:23:41+00:00" is-open="true" ticket-system="com.github.io7m.xstructural" version="1.9.0">
<c:changes>
<c:change date="2024-09-14T00:00:00+00:00" summary="Change CSS to a form that scales with screen sizes.">
<c:tickets>
<c:ticket id="28"/>
</c:tickets>
</c:change>
<c:change date="2024-09-14T15:08:30+00:00" summary="Formal items were being assigned the wrong CSS class.">
<c:change date="2024-09-14T00:00:00+00:00" summary="Formal items were being assigned the wrong CSS class.">
<c:tickets>
<c:ticket id="26"/>
</c:tickets>
</c:change>
<c:change date="2024-09-14T15:23:41+00:00" summary="Use normalize-space() on link targets.">
<c:tickets>
<c:ticket id="30"/>
</c:tickets>
</c:change>
</c:changes>
</c:release>
</c:releases>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</xsl:call-template>
</xsl:attribute>

<xsl:value-of select="."/>
<xsl:value-of select="normalize-space(.)"/>
</xsl:element>
</xsl:template>

Expand All @@ -71,7 +71,7 @@
<xsl:attribute name="title"
select="@target"/>

<xsl:value-of select="."/>
<xsl:value-of select="normalize-space(.)"/>
</xsl:element>
</xsl:template>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</xsl:call-template>
</xsl:attribute>

<xsl:value-of select="."/>
<xsl:value-of select="normalize-space(.)"/>
</xsl:element>
</xsl:template>

Expand All @@ -71,7 +71,7 @@
<xsl:attribute name="title"
select="@target"/>

<xsl:value-of select="."/>
<xsl:value-of select="normalize-space(.)"/>
</xsl:element>
</xsl:template>

Expand Down

0 comments on commit ae55bf0

Please sign in to comment.