<!DOCTYPE HTML> <html><head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <style> .rtl { direction: rtl; } .plaintext { unicode-bidi: -webkit-plaintext; unicode-bidi: plaintext; } .border { border: solid thin gray; } </style> </head><body> <table> <tr> <td class="border">1 <span class="plaintext rtl">א!</span> 2</td> <td>should look the same as</td> <td class="border">1 <span dir="rtl">א!</span>‎ 2</td> </tr> <tr> <td class="border">1 <span class="plaintext rtl">a!<br/>א!</span> 2</td> <td>should look the same as</td> <td class="border">1 a!<br><span dir="rtl">א!</span>‎ 2</td> </tr> </table> </body></html>