-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect spans generated for HTML with higher-plane unicode characters #1009
Comments
Hi, friendly nudge. This prevents |
For later reference, the skip parameter now includes a link to https://github.com/dart-lang/html/issues/70 (I just spent 5 minutes looking for the bug).
I've created a pull request with a fix: dart-archive/html#109 |
Carriage returns also affect the file location start and end points. |
Hey there, thanks for the great work. Now that the fix is merged, would it be possible to release a new version? We're stuck with this issue downstream (there: filiph/linkcheck#35) |
When parsing HTML that includes characters like "🍋", the start and end
FileLocation
s are generated incorrectly.Here's a short repo:
This will throw the following error:
This is not an issue with
package:source_span
— when I create the span manually, withoutparse()
, copying it works okay.The text was updated successfully, but these errors were encountered: