From 80fc3c8c48e85a5bb169056859ec273035aca8dd Mon Sep 17 00:00:00 2001 From: Mohammad Mostafa Farzan Date: Wed, 3 Jun 2020 14:35:31 +0430 Subject: [PATCH] add support for all RTL languages (#5036) --- notebook/static/bidi/bidi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/static/bidi/bidi.js b/notebook/static/bidi/bidi.js index 1be786d80..851fd8e0a 100644 --- a/notebook/static/bidi/bidi.js +++ b/notebook/static/bidi/bidi.js @@ -23,7 +23,7 @@ define(['bidi/numericshaping'], function(numericshaping) { }; var _isMirroringEnabled = function() { - return new RegExp('^(ar|he)').test(_uiLang()); + return new RegExp('^(ar|ara|arc|ae|ave|egy|he|heb|nqo|pal|phn|sam|syc|syr|fa|per|fas|ckb|ur|urd)').test(_uiLang()); }; /**