Left-to-right mark: Difference between revisions

Content deleted Content added
"LRM mark" is redundant, like "PIN number" or "ATM machine".
Line 10:
‫ لغة C<span style="color:red">++</span> هي لغة برمجة تستخدم...
 
With an LRM mark entered in the HTML after the ++, it renders as follows:
 
‫ لغة C<span style="color:red">++</span>&lrm; هي لغة برمجة تستخدم...
 
Standards-compliant browsers will render the ++ on the left in the first example, and on the right in the second. This happens because the browser recognizes that the paragraph is in a RTL script ([[Arabic script|Arabic]]), and applies punctuation, which is neutral as to its direction, in coordination with the more prominent (paragraph level) adjacent text. The LRM causes the punctuation to be adjacent to only LTR text – the "C" and the LRM mark – and hence position as if it were in left-to-right text, i.e., to the right of the preceding text. <code>&amp;#8206;</code> or <code>&amp;lrm;</code> may be required by some software rather than the invisible Unicode character itself; the actual invisible character would also make copy editing difficult.
 
==See also==