Skip to content

Commit

Permalink
IBX-5871: Changed check if @xLink:title exists and not empty for a li…
Browse files Browse the repository at this point in the history
…nk element (#115)
  • Loading branch information
mateuszdebinski authored Aug 9, 2023
1 parent 507315c commit e5aee23
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
<xsl:value-of select="@xml:id"/>
</xsl:attribute>
</xsl:if>
<xsl:if test="@xlink:title">
<xsl:if test="not(normalize-space(@xlink:title) = '')">
<xsl:attribute name="title">
<xsl:value-of select="@xlink:title"/>
</xsl:attribute>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@
with some line break</link>
</literallayout>
</para>
<para>
<link xlink:href="ezcontent://333" xlink:show="none" xml:id="id8" xlink:title="" ezxhtml:class="linkClass5">Link without title</link>
</para>
<para><anchor xml:id="anchor"/>Some anchored content.</para>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
<p>
<a href="ezcontent://444" id="id7" title="Content title" class="linkClass7">Content name<br/>with some line break</a>
</p>
<p>
<a class="linkClass5" href="ezcontent://333" id="id8" title="">Link without title</a>
</p>
<p><a id="anchor"/>Some anchored content.</p>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
<p>
<a href="ezcontent://444" id="id7" title="Content title" class="linkClass7">Content name<br/>with some line break</a>
</p>
<p>
<a class="linkClass5" href="ezcontent://333" id="id8">Link without title</a>
</p>
<p><a id="anchor"/>Some anchored content.</p>
</section>

0 comments on commit e5aee23

Please sign in to comment.