<svg xmlns="http://www.w3.org/2000/svg"
width="150px" height="275px" viewBox="0 -25 150 275">
<line x1="10" y1="25" x2="10" y2="225" stroke="black" stroke-width="1"/>
<text x="10" y="50" font-size="24" font-family="Arial" direction="rtl" unicode-bidi="embed">
שלום <tspan direction="ltr" unicode-bidi="embed">world</tspan>
</text>
<text x="10" y="100" font-size="24" font-family="Arial">
‫שלום ‪world‬‬
</text>
<text x="10" y="150" font-size="24" font-family="Arial" direction="rtl" unicode-bidi="bidi-override">
hello <tspan direction="ltr" unicode-bidi="embed">world</tspan>
</text>
<text x="10" y="200" font-size="24" font-family="Arial">
‮hello ‪world‬‬
</text>
</svg>