Tapping links is broken in statuses containing lists #20

Closed
opened 2019-04-05 02:08:26 +00:00 by shadowfacts · 1 comment
Owner

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 added this to the 1.0.0 milestone 2019-04-05 02:08:26 +00:00
shadowfacts self-assigned this 2019-04-05 02:08:26 +00:00
shadowfacts added the
bug
label 2019-04-05 02:08:26 +00:00
Author
Owner
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 modified the milestone from 1.0.0 to Public Beta 2020-01-04 21:33:41 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: shadowfacts/Tusker#20
No description provided.