W3C home > Mailing lists > Public > www-international@w3.org > January to March 2014

[inline bidi update] use lowercase for LTR characters in code samples

From: Gunnar Bittersmann <gunnar@bittersmann.de>
Date: Thu, 30 Jan 2014 18:35:48 +0100
Message-ID: <52EA8D74.1090607@bittersmann.de>
To: www-international@w3.org
“In this article right-to-left text in code samples is represented by 
UPPERCASE TRANSLATIONS, and left-to-right text by lowercase.”, says the 

But this convention is not used throughout all examples, e.g.
`<p>The title is "AN INTRODUCTION TO c++" in Arabic.</p>`
should read
`<p>the title is "AN INTRODUCTION TO c++" in arabic.</p>`

Fortunately, with the leading > and trailing < characters which are 
escaped in the HTML code all relevant places are easy to spot:

replace	&gt;The title
with	&gt;the title

replace	Arabic.&lt;
with	arabic.&lt;

replace	&gt;We
with	&gt;we

replace	&gt;The names of these states in Arabic
with	&gt;the names of these states in arabic

replace	in Hebrew.&lt;
with	in hebrew.&lt;

Received on Thursday, 30 January 2014 17:36:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:04 UTC