Tapping links is broken in statuses containing lists #20

Gesloten
2019-04-05 02:08:26 +00:00 geopend door shadowfacts · 1 comment
Eigenaar

Something about the way lists are converted from HTML -> attributed strings breaks everything and makes NSLayoutManager.glyphIndex(for:in:) returns the wrong character index.

odds are slim i'll figure this out myself

Something about the way lists are converted from HTML -> attributed strings breaks everything and makes `NSLayoutManager.glyphIndex(for:in:)` returns the wrong character index. odds are slim i'll figure this out myself
shadowfacts heeft dit 2019-04-05 02:08:26 +00:00 aan de mijlpaal 1.0.0 toegevoegd
shadowfacts heeft dit 2019-04-05 02:08:26 +00:00 aan zichzelf toegewezen
shadowfacts voegde het
bug
label 2019-04-05 02:08:26 +00:00 toe
Author
Eigenaar
notes for myself: possible solutions: https://mastodon.technology/users/brunoph/statuses/101875790249779349 possibly switch to NSAttributeString's HTML rendering? - https://github.com/ShihabM/Mast/pull/68 - https://developer.apple.com/documentation/foundation/nsattributedstring/1524613-init#discussion - https://www.robpeck.com/2015/04/nshtmltextdocumenttype-is-slow - ^ apparently it's slow, and sanitizing would add a second html parse pass
shadowfacts mijlpaal bewerkt van 1.0.0 Public Beta 2020-01-04 21:33:41 +00:00
shadowfacts heeft dit probleem gesloten 2020-01-18 21:27:20 +00:00
Log in om deel te nemen aan deze discussie.
Geen mijlpaal
Niet toegewezen
1 deelnemers
Notificaties
Vervaldatum
De deadline is ongeldig of buiten bereik. Gebruik het formaat 'jjjj-mm-dd'.

Geen vervaldatum ingesteld.

Afhankelijkheden

Geen afhankelijkheden ingesteld.

Referentie: shadowfacts/Tusker#20
No description provided.