Skip to content

Commit

Permalink
[spec] append code points, not strings, to escapedList
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 19, 2023
1 parent 03e29a5 commit 3127d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ contributors: Jordan Harband
1. Append code unit U+0033 (DIGIT THREE) to _escapedList_.
1. Else if _toEscape_ contains _c_ or _c_ is matched by |WhiteSpace|, then
1. Append code unit U+005C (REVERSE SOLIDUS) to _escapedList_.
1. Append the elements of UTF16EncodeCodePoint(_c_) to _escapedList_.
1. Append _c_ to _escapedList_.
1. Return CodePointsToString(_escapedList_).
</emu-alg>

Expand Down

0 comments on commit 3127d6b

Please sign in to comment.