Commit Graph

19 Commits

Author SHA1 Message Date
Shadowfacts 74baa2912f Fix extra line breaks being inserted before lists 2024-01-16 19:26:40 -05:00
Shadowfacts a32b972201 Add append action to element callbacks 2024-01-16 19:15:56 -05:00
Shadowfacts b33be0f178 Actually fix how whitespace is inserted between block elements 2023-12-26 14:29:40 -05:00
Shadowfacts 5a7b5860dd Fix color not being applied 2023-12-24 11:52:36 -05:00
Shadowfacts 38b1d2949b Return temporary buffer as a .characterSequence 2023-12-23 11:49:43 -05:00
Shadowfacts f585a6b502 Fix TextConverterConfiguration property name 2023-12-23 10:45:11 -05:00
Shadowfacts 5bdfda71e6 HTML to plain text conversion 2023-12-22 20:36:55 -05:00
Shadowfacts 601c9f2cd8 Fix converting self-closing br tags 2023-12-22 18:58:27 -05:00
Shadowfacts 395f5965bc Fix inline text/elements coming after block elements 2023-12-17 18:54:26 -05:00
Shadowfacts c8512fa71e FIx tests not building on iOS 2023-12-17 18:35:07 -05:00
Shadowfacts d396a800f6 Fix handling of mis-nested <a> tags 2023-12-17 18:32:00 -05:00
Shadowfacts 2f18ad3cf4 Process runs of unmodified characters as characterSequence tokens 2023-11-28 20:58:01 -05:00
Shadowfacts f7f35e09f7 Use Unicode.Scalar instead of Character
All the chars we care about are a single scalar, so this avoids spending
time on the grapheme breaking algorithm.
2023-11-28 11:56:56 -05:00
Shadowfacts 29a065049e Ditch InlineArray3
Turns out Array is still faster
2023-11-26 22:35:10 -05:00
Shadowfacts 1c461041c1 Cache fonts in attributed string converter 2023-11-26 18:53:59 -05:00
Shadowfacts 134803b72d Faster tokenizing for named character references 2023-11-26 18:26:22 -05:00
Shadowfacts 97ce18d056 Convert lists to attributed strings 2023-11-25 09:44:53 -05:00
Shadowfacts 38d57b3f79 Attributed string conversion 2023-11-24 22:17:37 -05:00
Shadowfacts a4d791a995 Add tokenizer 2023-11-24 15:18:37 -05:00