Something went wrong. Try again.
an independent Bluesky client using Constellation, PDS Queries, and other services
Something went wrong. Try again.
Fix links after emoji master
JavaScript strings are encoded as UTF-16. When a Unicode character outside of the BMP is part of a string, it is encoded as a surrogate pair. For instance, '🎨' is encoded as '\uD83C\uDFA8', but a for-of loop will treat that as a single character with length 2. In getByteToCharMap, this was not handled, resulting in an incorrect value of charIndex and links being placed at the wrong location in messages.
Author Harald van Dijk Committer Tangled Date (Oct 11, 2025, 1:14 PM UTC) Commit 395af63b 395af63b464166519dc2bafc5e2c5426a7d8d27e Parent 5c9d9295 5c9d9295ac3a2591834dc66cf8273d311b6d57df