summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qwasmaccessibility.h
diff options
context:
space:
mode:
authorAlbert Astals Cid <[email protected]>2025-10-09 10:11:13 +0200
committerEskil Abrahamsen Blomfeldt <[email protected]>2025-10-14 17:40:02 +0200
commitf9b83106255aa97d0a3ffc105fb17676d2a72b78 (patch)
tree690c2e7f7af5697bad5039dcfde1c68135ea7807 /src/plugins/platforms/wasm/qwasmaccessibility.h
parentef61fec0dcb5f38756f7eb2726eed8d8b6db4d72 (diff)
appendNodeText: Don't split emojis with surrogate chars in twoHEADdev
When parsing a document that assigns an anchor to text, we assign this anchor to the next immediate character. If this character was the low surrogate in a pair, we would end up splitting the surrogate and messing up the text. We use QStringIterator to make sure we always process surrogate pairs together and add the full pair to the resulting text. Fixes: QTBUG-140929 Pick-to: 6.10 Change-Id: I63ee03c251004d1a138f97462723fcc3798b9147 Reviewed-by: Albert Astals Cid <[email protected]> Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmaccessibility.h')
0 files changed, 0 insertions, 0 deletions