Skip to content

Commit 4a9d337

Browse files
committed
Fix quoting typo.
1 parent 5efb100 commit 4a9d337

2 files changed

Lines changed: 24 additions & 24 deletions

File tree

css3-values/Overview.html

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -601,9 +601,9 @@ <h3 id=strings><span class=secno>3.3. </span> Quoted Strings: the &lsquo;<a
601601

602602
<div class=example>
603603
<p>Double quotes cannot occur inside double quotes, unless escaped (as
604-
&lsquo;<code class=css>\"</code>&rsquo; or as &lsquo;<code
605-
class=css>\22</code>&rsquo;). Analogously for single quotes
606-
("\&lsquo;<code class=css>" or "\27"). </code>
604+
<code>"\""</code> or as <code>"\22"</code>). Analogously for single
605+
quotes (<code>&apos;\&apos;&apos;</code> or
606+
<code>&apos;\27&apos;</code>).
607607

608608
<pre>
609609
<!-- -->content: "this is a &apos;string&apos;.";
@@ -635,9 +635,8 @@ <h3 id=strings><span class=secno>3.3. </span> Quoted Strings: the &lsquo;<a
635635
depends on the encoding, which means a character may take up to 6 bytes in
636636
utf-8.)
637637

638-
<h3 id=urls><span class=secno>3.4. </span> Resource Locators: the
639-
&rsquo;&lsquo;<a href="#url-value"><code
640-
class=css>&lt;url&gt;</code></a>&rsquo;&lsquo;<code class=css> type</code></h3>
638+
<h3 id=urls><span class=secno>3.4. </span> Resource Locators: the &lsquo;<a
639+
href="#url-value"><code class=css>&lt;url&gt;</code></a>&rsquo; type</h3>
641640

642641
<p>A <dfn id=url>URL</dfn> is a pointer to a resource and is a <a
643642
href="http://www.w3.org/TR/CSS21/syndata.html#uri">specially-parsed</a> <a
@@ -661,22 +660,23 @@ <h3 id=urls><span class=secno>3.4. </span> Resource Locators: the
661660
context), a URL can be represented as a <a
662661
href="#string-value"><code>&lt;string&gt;</code></a> rather than by <a
663662
href="#url-value"><code>&lt;URL&gt;</code></a>. An example of this is the
664-
<a
665-
href="http://www.w3.org/TR/CSS21/cascade.html#at-import">&rsquo;&lsquo;<code
666-
class=css>@import</code>&rsquo;&lsquo;<code class=css> rule</code></a>.
667-
668-
<p>Parentheses, whitespace characters, single quotes (&rsquo;) and double
669-
quotes (") appearing in a URL must be escaped with a backslash so that the
670-
resulting value is a valid <a href="#url"><code>URL</code></a> token, e.g.
671-
&lsquo;<code class=css>url(open\(parens)</code>&rsquo;, &lsquo;<code
672-
class=css>url(close\)parens)</code>&rsquo;. Depending on the type of URL,
673-
it might also be possible to write these characters as URI-escapes (where
674-
<code>(</code> = <code>%28</code>, <code>)</code> = <code>%29</code>,
675-
etc.) as described in <a href="#URI"
663+
<a href="http://www.w3.org/TR/CSS21/cascade.html#at-import">&lsquo;<code
664+
class=css>@import</code>&rsquo; rule</a>.
665+
666+
<p>Parentheses, whitespace characters, single quotes (&lsquo;<code
667+
class=css>) and double quotes (") appearing in a URL must be escaped with
668+
a backslash so that the resulting value is a valid <a
669+
href="#url"><code>URL</code></a> token, e.g.
670+
</code>&rsquo;url(open\(parens)&lsquo;<code class=css>,
671+
</code>&rsquo;url(close\)parens)&lsquo;<code class=css>. Depending on the
672+
type of URL, it might also be possible to write these characters as
673+
URI-escapes (where <code>(</code> = <code>%28</code>, <code>)</code> =
674+
<code>%29</code>, etc.) as described in <a href="#URI"
676675
rel=biblioentry>[URI]<!--{{URI}}--></a>. Alternatively a URL containing
677676
such characters may be represented as a quoted <a
678-
href="#strings">string</a> within the &lsquo;<a href="#url"><code
679-
class=css>url()</code></a>&rsquo; notation.
677+
href="#strings">string</a> within the </code>&rsquo;&lsquo;<a
678+
href="#url"><code class=css>url()</code></a>&rsquo;&lsquo;<code class=css>
679+
notation. </code>
680680

681681
<p>In order to create modular style sheets that are not dependent on the
682682
absolute location of a resource, authors should use relative URIs.
@@ -695,9 +695,9 @@ <h3 id=urls><span class=secno>3.4. </span> Resource Locators: the
695695

696696
<pre>http://www.example.org/style/basic.css</pre>
697697

698-
<p>The background of the source document's <code>&lt;body&gt;</code> will
699-
be tiled with whatever image is described by the resource designated by
700-
the URL:
698+
<p>The background of the source document&rsquo;s <code>&lt;body&gt;</code>
699+
will be tiled with whatever image is described by the resource designated
700+
by the URL:
701701

702702
<pre>http://www.example.org/style/tile.png</pre>
703703

css3-values/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ <h3 id="strings">
325325

326326
<div class=example>
327327
<p>Double quotes cannot occur inside double quotes, unless escaped
328-
(as '\"' or as '\22'). Analogously for single quotes ("\'" or "\27").
328+
(as <code>"\""</code> or as <code>"\22"</code>). Analogously for single quotes (<code>&apos;\&apos;&apos;</code> or <code>&apos;\27&apos;</code>).
329329
<pre>
330330
<!-- -->content: "this is a &apos;string&apos;.";
331331
<!-- -->content: "this is a \"string\".";

0 commit comments

Comments
 (0)