Skip to content

Commit 834d641

Browse files
committed
Switch occurences of ' to html escapes to avoid the preprocessor messing them up.
--HG-- extra : rebase_source : c13c6fd52948cc1b1827439b559d72eca09d470f
1 parent cb1282c commit 834d641

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

css3-syntax/Overview.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ <h4 id=data-state><span class=secno>3.4.3. </span> <dfn id=data-state0>Data
588588

589589
<dd> Switch to the <a href="#hash-state0"><i>hash state</i></a>.
590590

591-
<dt>U+0027 APOSTROPHE (&lsquo;<code class=css>) </code>
591+
<dt>U+0027 APOSTROPHE (&apos;)
592592

593593
<dd> Switch to the <a
594594
href="#single-quote-string-state0"><i>single-quote-string state</i></a>.
@@ -714,7 +714,7 @@ <h4 id=data-state><span class=secno>3.4.3. </span> <dfn id=data-state0>Data
714714
title="next input character">next 2 input character</i></a> are U+002B
715715
PLUS SIGN (+) followed by a <a href="#hex-digit"><i>hex digit</i></a>,
716716
consume the <a href="#next-input-character"><i>next input
717-
character</i></a>. <span class=note>Note: don&rsquo;t consume both of
717+
character</i></a>. <span class=note>Note: don't consume both of
718718
them.</span> Switch to the <a
719719
href="#unicode-range-state0"><i>unicode-range state</i></a>.
720720
<p> Otherwise, if the <a href="#next-input-character"><i
@@ -802,7 +802,7 @@ <h4 id=single-quote-string-state><span class=secno>3.4.5. </span> <dfn
802802
character</i></a>.
803803

804804
<dl>
805-
<dt>U+0027 APOSTROPHE (&lsquo;<code class=css>) </code>
805+
<dt>U+0027 APOSTROPHE (&apos;)
806806

807807
<dd> Emit the string token. Return to the <a href="#data-state0"><i>data
808808
state</i></a>.
@@ -822,7 +822,7 @@ <h4 id=single-quote-string-state><span class=secno>3.4.5. </span> <dfn
822822

823823
<dd> If the <a href="#next-input-character"><i>next input
824824
character</i></a> is an EOF, this is a <i>parse error</i>. Append a
825-
U+005C REVERSE SOLIDUS (\) to the string token&rsquo;s value and emit the
825+
U+005C REVERSE SOLIDUS (\) to the string token's value and emit the
826826
string token, then switch to the <a href="#data-state0"><i>data
827827
state</i></a>.
828828
<p> Otherwise, if the <a href="#next-input-character"><i>next input
@@ -1520,7 +1520,7 @@ <h4 id=url-state><span class=secno>3.4.19. </span> <dfn id=url-state0>URL
15201520
<dd> Switch to the <a href="#url-double-quote-state0"><i>url-double-quote
15211521
state</i></a>.
15221522

1523-
<dt>U+0027 APOSTROPHE (&lsquo;<code class=css>) </code>
1523+
<dt>U+0027 APOSTROPHE (&apos;)
15241524

15251525
<dd> Switch to the <a href="#url-single-quote-state0"><i>url-single-quote
15261526
state</i></a>.
@@ -1573,7 +1573,7 @@ <h4 id=url-double-quote-state><span class=secno>3.4.20. </span> <dfn
15731573

15741574
<p> Otherwise, <a href="#consume-an-escaped-character0"><i>consume an
15751575
escaped character</i></a>. Append the returned character to the url
1576-
token&rsquo;s value. Remain in this state.
1576+
token's value. Remain in this state.
15771577

15781578
<dt>anything else
15791579

@@ -1591,7 +1591,7 @@ <h4 id=url-single-quote-state><span class=secno>3.4.21. </span> <dfn
15911591
character</i></a>.
15921592

15931593
<dl>
1594-
<dt>U+0027 QUOTATION MARK (&lsquo;<code class=css>) </code>
1594+
<dt>U+0027 APOSTROPHE (&apos;)
15951595

15961596
<dd> Switch to the <a href="#url-end-state0"><i>url-end state</i></a>.
15971597

@@ -1613,7 +1613,7 @@ <h4 id=url-single-quote-state><span class=secno>3.4.21. </span> <dfn
16131613

16141614
<p> Otherwise, <a href="#consume-an-escaped-character0"><i>consume an
16151615
escaped character</i></a>. Append the returned character to the url
1616-
token&rsquo;s value. Remain in this state.
1616+
token's value. Remain in this state.
16171617

16181618
<dt>anything else
16191619

@@ -1665,7 +1665,7 @@ <h4 id=url-unquoted-state><span class=secno>3.4.23. </span> <dfn
16651665

16661666
<dt>U+0022 QUOTATION MARK (")
16671667

1668-
<dt>U+0027 APOSTROPHE (&lsquo;<code class=css>) </code>
1668+
<dt>U+0027 APOSTROPHE (&apos;)
16691669

16701670
<dt>U+0028 LEFT PARENTHESIS (()
16711671

@@ -1683,7 +1683,7 @@ <h4 id=url-unquoted-state><span class=secno>3.4.23. </span> <dfn
16831683
href="#data-state0"><i>data state</i></a>.
16841684
<p> Otherwise, <a href="#consume-an-escaped-character0"><i>consume an
16851685
escaped character</i></a>. Append the returned character to the url
1686-
token&rsquo;s value. Remain in this state.
1686+
token's value. Remain in this state.
16871687

16881688
<dt>anything else
16891689

css3-syntax/Overview.src.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ <h4>
385385
<dd>
386386
Switch to the <i>hash state</i>.
387387

388-
<dt>U+0027 APOSTROPHE (')
388+
<dt>U+0027 APOSTROPHE (&apos;)
389389
<dd>
390390
Switch to the <i>single-quote-string state</i>.
391391

@@ -653,7 +653,7 @@ <h4>
653653
Consume the <i>next input character</i>.
654654

655655
<dl>
656-
<dt>U+0027 APOSTROPHE (')
656+
<dt>U+0027 APOSTROPHE (&apos;)
657657
<dd>
658658
Emit the string token.
659659
Return to the <i>data state</i>.
@@ -1510,7 +1510,7 @@ <h4>
15101510
<dd>
15111511
Switch to the <i>url-double-quote state</i>.
15121512

1513-
<dt>U+0027 APOSTROPHE (')
1513+
<dt>U+0027 APOSTROPHE (&apos;)
15141514
<dd>
15151515
Switch to the <i>url-single-quote state</i>.
15161516

@@ -1591,7 +1591,7 @@ <h4>
15911591
Consume the <i>next input character</i>.
15921592

15931593
<dl>
1594-
<dt>U+0027 QUOTATION MARK (')
1594+
<dt>U+0027 APOSTROPHE (&apos;)
15951595
<dd>
15961596
Switch to the <i>url-end state</i>.
15971597

@@ -1674,7 +1674,7 @@ <h4>
16741674
Switch to the <i>data state</i>.
16751675

16761676
<dt>U+0022 QUOTATION MARK (")
1677-
<dt>U+0027 APOSTROPHE (')
1677+
<dt>U+0027 APOSTROPHE (&apos;)
16781678
<dt>U+0028 LEFT PARENTHESIS (()
16791679
<dt><i>non-printing character</i>
16801680
<dd>

0 commit comments

Comments
 (0)