Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
  • Loading branch information
gkellogg and TallTed authored Sep 15, 2023
1 parent 75cc675 commit 7dab0b4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -734,8 +734,8 @@ <h2>Literals</h2>

<p>A literal is a <dfn id="dfn-dir-lang-string">directional language-tagged string</dfn>
if both the third element and fourth elements are present.
Language tags are treated identically to <a>language-tagged string</a>,
and the fourth element , <a>base direction</a> MUST BE either `ltr` or `rtl` in lower case.</p>
The third element, the language tag, is treated identically as in a <a>language-tagged string</a>,
and the fourth element, <a>base direction</a>, MUST be either `ltr` or `rtl`, which MUST be in lower case.</p>

<p>Please note that concrete syntaxes MAY support
<dfn data-lt="simple literal" class="export">simple literals</dfn> consisting of only a
Expand Down Expand Up @@ -787,7 +787,7 @@ <h2>Literals</h2>
the two <a>datatype IRIs</a>,
the two <a>language tags</a> (if any), and
the two <a>base directions</a> (if any)
all compare equal,
all compare equal
(see description of string comparison in <a href="#rdf-strings" class="sectionRef"></a>).
Thus, two literals can have the same value
without being the same <a>RDF term</a>. For example:</p>
Expand All @@ -807,15 +807,15 @@ <h3>Initial Text Direction</h3>

<p>The <a>base direction</a> of a <a>directional language-tagged string</a>
provides a means of establishing the initial direction of text,
including text which is mixture of right-to-left and left-to-right scripts.
including text which is a mixture of right-to-left and left-to-right scripts.
The [[[?UAX9]]] [[?UAX9]] provides support for automatically rendering
a sequence of characters in logical order,
so that they are visually ordered as expected.
However, this is not sufficient to correctly render bidirectional text.</p>

<p>For example, some text with a language tag "`he`" might be displayed
in a left-to-right context (such as an English web page) as
<bdi dir=ltr>פעילות הבינאום, W3C</bdi>, which is incorrect. When provided
<bdi dir="ltr">פעילות הבינאום, W3C</bdi>, which is incorrect. When provided
to a user agent including base direction information (such as using
HTML's `dir` attribute) it can then be correctly presented as:
</p>
Expand Down

0 comments on commit 7dab0b4

Please sign in to comment.