-
Notifications
You must be signed in to change notification settings - Fork 582
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
Fixed: Mojo::DOM doesn't recognize end of comment #2029 #2030 #2082
base: main
Are you sure you want to change the base?
Conversation
That commit message tells me nothing. |
Since both issues were reported by @mauke, a review would be appreciated. |
I am not sure how to best proceed. (Should I revert and update the comment?) |
Just change the commit message to something meaningful. |
You changed the title of the PR, not the commit message. I'll mark this PR as work in progress for now, so nobody reviews it yet by accident. |
Not sure how to just change the commit message here without submitting another commit. |
|
a52af14
to
e17bd94
Compare
I didn't know about the |
@kraih Anything missing from my side? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Wonder if those lookahead assertions will end up being a performance issue in the future when someone finds a weird enough HTML document. |
I completely forgot what the fix even was now 😅 |
Any suggestions? |
Maybe we can use an "unrolling-the-loop" pattern 🤔 |
Something that's also easy to port to the JavaScript version would be neat. 😁 |
I know |
|
Summary
Mojo::DOM doesn't recognize end of comment (when it should) #2030
Mojo::DOM treats "-- >" as end of comment (it shouldn't) #2029
Motivation
EXPLAIN WHY YOU BELIEVE THESE CHANGES ARE NECESSARY HERE
References
LIST RELEVANT ISSUES, PULL REQUESTS AND FORUM DISCUSSIONS HERE