From 8ebc59336c9c809af77718a2b7bba13679716dae Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Wed, 1 Feb 2017 22:13:28 +0330 Subject: [PATCH] Isolate directionality of a string from surrounding --- notebook/static/notebook/less/highlight.less | 3 +++ 1 file changed, 3 insertions(+) diff --git a/notebook/static/notebook/less/highlight.less b/notebook/static/notebook/less/highlight.less index d0b2bf2ae..9050a3cfb 100644 --- a/notebook/static/notebook/less/highlight.less +++ b/notebook/static/notebook/less/highlight.less @@ -27,6 +27,9 @@ Adapted from GitHub theme .highlight-string{ color: #BA2121; + /* isolate strings unicode direction from surrounding text */ + unicode-bidi: isolate; + unicode-bidi: -webkit-isolate; } .highlight-comment{