Skip to content

Commit f769ded

Browse files
committed
Properly consume escaped characters in the hash state.
--HG-- extra : rebase_source : de2156a25d88583de61ab7ca46669eb3d388a78e
1 parent cd4bb35 commit f769ded

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

css3-syntax/Overview.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -859,9 +859,10 @@ <h4 id=hash-state><span class=secno>3.4.6. </span> <dfn id=hash-state0>Hash
859859
a delim token with its value set to U+0023 NUMBER SIGN (#). Switch to the
860860
<a href="#data-state0"><i>data state</i></a>. Reconsume the <a
861861
href="#current-input-character"><i>current input character</i></a>.
862-
<p> Otherwise, create a hash token with its value set to the returned
863-
character. Switch to the <a href="#hash-rest-state0"><i>hash-rest
864-
state</i></a>.
862+
<p> Otherwise, <a href="#consume-an-escaped-character0"><i>consume an
863+
escaped character</i></a>. Create a hash token with its value set to the
864+
returned character. Switch to the <a
865+
href="#hash-rest-state0"><i>hash-rest state</i></a>.
865866

866867
<dt>anything else
867868

css3-syntax/Overview.src.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,8 @@ <h4>
725725

726726
<p>
727727
Otherwise,
728-
create a hash token
728+
<i>consume an escaped character</i>.
729+
Create a hash token
729730
with its value set to the returned character.
730731
Switch to the <i>hash-rest state</i>.
731732

0 commit comments

Comments
 (0)