If I have a section of text with Hebrew characters:
<p>
אאאאא <q>הללויה</q> פֿון לענאָרד כּהן אויף ייִדיש
</p>
<p>
<q>הללויה</q> פֿון לענאָרד כּהן אויף ייִדיש
</p>
when the <q>…</q>
is surrounded by other Hebrew text (the first line with the extra "אאאאא"), it works fine. But if the quote begins the paragraph, the first quotation mark gets put in the wrong place:
The same thing happens with both Chrome and Firefox.
I can understand what causes this to happen (the initial <q>
produces a quotation mark before any RTL characters are seen), and why the quoted word has to be at the "end" of the line rather than the "beginning" (HTML processes the elements left-to-right).
But what is the "correct" way of writing this HTML so that the quotation marks appear in the appropriate places? Is it even possible without CSS?
Added details:
- The HTML does have
<meta charset="UTF-8" />
. - The text is simply the original title of something, to appear in a paragraph with other similar items (those are in Roman characters), so a blockquote wouldn't be appropriate. And even if it were, using blockquote makes no difference. It is the
<q>
that appears to be misbehaving. - For those interested, it translates to
"Halleluja" by Leonard Cohen in Yiddish
, which can be found on YouTube.