brackets displays wrongly for right to left display style

后端 未结 6 959
终归单人心
终归单人心 2020-12-05 00:06

The html code


hello (world)

you will see a page like this:

(hello         


        
6条回答
  •  半阙折子戏
    2020-12-05 00:54

    Adding the special rlm character in css before and after your element solved all cases I've come across in Firefox and Chrome:

    *:after {
        content: "\200E‎";
    }
    *:before {
        content: "\200E‎";
    }
    

提交回复
热议问题