You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
into_offset_iter() does not give correct range for link references #430
So for inline links it will give the full range of 5..34, which is correct. The reference link is incorrect though as it gives 35..36 instead of 35..60.
I can look into this issue. The only reason I need this though is because I am manually parsing out link reference text because it's not provided another way. Edit: Actually, I'm just going to work around this as I don't have time at the moment to fix it.
Activity
marcusklaas commentedon Feb 15, 2020
Good catch, and thank you for reporting it. I shall investigate.
dsherret commentedon Feb 15, 2020
Also,
FootnoteReferencedoes not have the full width:Outputs:
Fix event ranges for reference links and footnotes.
alerque commentedon May 20, 2020
This is related to #411, not only is the range misreported here, but some information is missing.
Fix event ranges for reference links and footnotes.
dsherret commentedon Jun 29, 2020
@marcusklaas could there be a release for this if possible? I'm trying to reliably parse out the link reference and it's hard without this. Thanks!
marcusklaas commentedon Jul 2, 2020
Yes, I'll do a release containing this fix shortly. Planning one before the end of the week.
marcusklaas commentedon Jul 2, 2020
It was released!
dsherret commentedon Jul 2, 2020
Thanks @marcusklaas! I just tested it out now and it's working well 🙂