From 4f49667e551d17823463e55920db89c7601598f4 Mon Sep 17 00:00:00 2001 From: Andrius R Date: Wed, 30 Nov 2005 17:29:21 +0000 Subject: [PATCH] Bugs 4062, 3922 - unrecommended unicode control characters replaced with 'span dir=rtl/ltr' --- includes/Skin.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index e2b3c4f397..80915a690e 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -428,9 +428,8 @@ END; // Use Unicode bidi embedding override characters, // to make sure links don't smash each other up in ugly ways. - // FIXME: should we use 'dir=emded' or something on links instead? - $embed = $wgContLang->isRTL() ? '‫' : '‪'; - $pop = '‬'; + $embed = ""; + $pop = ''; $t = $embed . implode ( "$pop | $embed" , $wgOut->mCategoryLinks ) . $pop; $msg = count( $wgOut->mCategoryLinks ) === 1 ? 'categories1' : 'categories'; -- 2.20.1