Tapping links is broken in statuses containing lists #20

Suljettu
2019-04-05 02:08:26 +00:00 avasi shadowfacts · 1 comment
Omistaja

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 lisäsi tämän merkkipaaluun 1.0.0 2019-04-05 02:08:26 +00:00
shadowfacts itse otti tämän käsittelyyn 2019-04-05 02:08:26 +00:00
shadowfacts added the
bug
label 2019-04-05 02:08:26 +00:00
Tekijä
Omistaja
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 vaihtoi merkkipaalun 1.0.0 merkkipaaluun Public Beta 2020-01-04 21:33:41 +00:00
shadowfacts sulki tämän ongelman 2020-01-18 21:27:20 +00:00
Sign in to join this conversation.
Ei merkkipaalua
Ei käsittelijää
1 osallistujaa
Ilmoitukset
Määräpäivä
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

Määräpäivää ei asetettu.

Riippuvuudet

Riippuvuuksia ei asetettu.

Reference: shadowfacts/Tusker#20
No description provided.