Skip to content

Commit

Permalink
[spec] properly hex-encode digits
Browse files Browse the repository at this point in the history
Fixes #62
  • Loading branch information
ljharb committed Oct 10, 2023
1 parent d89b23a commit ee09506
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ contributors: Jordan Harband
1. If _escapedList_ is empty and _c_ is a |DecimalDigit|, then
1. Append code unit U+005C (REVERSE SOLIDUS) to _escapedList_.
1. Append code unit U+0078 (LATIN SMALL LETTER X) to _escapedList_.
1. Append code unit U+0033 (DIGIT THREE) to _escapedList_.
1. Else if _c_ is a CharSetElement of _toEscape_ or is |WhiteSpace|, then
1. Append code unit U+005C (REVERSE SOLIDUS) to _escapedList_.
1. Append the elements of UTF16EncodeCodePoint(_c_) to _escapedList_.
Expand Down

0 comments on commit ee09506

Please sign in to comment.