mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Iterate over text chunks using a grapheme-aware segmenter
Our current text iterator is not aware of multi-code point graphemes. Instead of simply incrementing an iterator one code point at a time, use our Unicode grapheme segmenter to break text into fragments.
This commit is contained in:
committed by
Andreas Kling
parent
aef85a83bd
commit
f0105b473b
Notes:
github-actions[bot]
2024-09-21 06:58:43 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/f0105b473b9 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1465
@@ -0,0 +1,3 @@
|
||||
<p>🧑🚒</p>
|
||||
<p>🏴☠️</p>
|
||||
<p>🧑🧑🧒🧒</p>
|
||||
Reference in New Issue
Block a user