---
 .../opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl
b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl
index eed0e1f..d101723 100644
--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl
+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl
@@ -99,7 +99,7 @@
                     </xsl:if>
                     <xsl:choose>
                         <!-- display right-to-left tags floating right
of their left-to-right counterparts -->
-                        <xsl:when test="substring($code6,10,2) ='/r'">
+                        <xsl:when
test="substring($code6,string-length($code6)-1,2) ='/r'">
                             <xsl:attribute name="style">display:block;
text-align:right; float:right; width:50%;
padding-left:20px</xsl:attribute>
                             <xsl:attribute
name="dir">rtl</xsl:attribute>
                         </xsl:when>
-- 
1.5.6.3

Attachment: 0001-Bug-3567-Consider-ISO-language-codes-as-well.patch
Description: 0001-Bug-3567-Consider-ISO-language-codes-as-well.patch

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to