[Pkg-kde-extras] Bug#904259: [tellico/3.1] /: Fix LTR direction of year and parentheses inside Videl template title

Robby Stephenson null at kde.org
Thu Aug 23 02:15:11 BST 2018


Git commit f68303e6a33d67d31c409b242da39e65f4b0d33a by Robby Stephenson.
Committed on 23/08/2018 at 01:13.
Pushed by rstephenson into branch '3.1'.

Fix LTR direction of year and parentheses inside Videl template title

I believe this follows suggestion #2 from the original bug report in
that if the title has RTL text, it remains that way. The year is
enclosed in parentheses at left side of block, with proper ordering.

CCMAIL: 904259 at bugs.debian.org

M  +4    -0    ChangeLog
M  +7    -1    xslt/entry-templates/Video.xsl

https://commits.kde.org/tellico/f68303e6a33d67d31c409b242da39e65f4b0d33a

diff --git a/ChangeLog b/ChangeLog
index fceb94ba..1ece1118 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-08-22  Robby Stephenson  <robby at periapsis.org>
+
+	* Fixed LTR direction for year within Video template (Debian Bug #904259)
+
 2018-07-08  Robby Stephenson  <robby at periapsis.org>
 
 	* Fixed bug that cleared selection on modification when a filter was applied (Bug 394343).
diff --git a/xslt/entry-templates/Video.xsl b/xslt/entry-templates/Video.xsl
index 4acc1d0c..69efcf22 100644
--- a/xslt/entry-templates/Video.xsl
+++ b/xslt/entry-templates/Video.xsl
@@ -169,6 +169,12 @@
         text-align: center;
         clear: both;
    }
+   /* KHTML bug related to directional text.
+      See Debian Bug #904259 */
+   .year {
+        direction: ltr;
+        unicode-bidi: embed;
+   }
   </style>
   <title>
    <xsl:value-of select="tc:collection/tc:entry[1]//tc:title[1]"/>
@@ -268,7 +274,7 @@
         <xsl:value-of select=".//tc:nationality[1]"/>
        </span>
       </xsl:if>
-     <xsl:text>)</xsl:text>
+     <xsl:text>) </xsl:text>
     </span>
    </xsl:if>
   </h1>



More information about the pkg-kde-extras mailing list