Forum How do I...?

bdi tag support?

fsurjana
Hi all,

Does prince 9 support HTML5 <bdi></bdi> tag support? It is rendered correctly in Firefox but not in prince.

<body>
<bdi>FIT®</bdi>
<bdi>للادوية</bdi>
</body>

body { direction:rtl; unicode-bidi: embed; }

In prince, the first bdi will be shown as ®FIT.

Thanks in advance!

Edited by fsurjana

mikeday
No, currently we only support bdo, with these default CSS rules:
bdo[dir="ltr"] { direction: ltr; unicode-bidi: bidi-override }
bdo[dir="rtl"] { direction: rtl; unicode-bidi: bidi-override }

It looks like we need to add support for the new "isolate" value on the unicode-bidi property.
fsurjana
ah ok, thanks for the reply Mike. In the meantime, I'm using <span class="bdi"> and .bdi { direction:ltr; }
jenniferflint
Any update on when Prince may support unicode-bidi: isolate?
mikeday
It is on the roadmap, perhaps we will get to it next year.
mikeday
It took a little longer but the latest builds now support "unicode-bidi: isolate" and the HTML bdi element! :D