-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Bug: conversion of literals can replace the wrong content #133
Comments
Just in case, if you create a new PR, could you now use directly the repo instead of the fork? Then I can also help work and it's easier for me to checkout and review and also resolve merge conflicts 😄 |
Yes I was thinking already that I should have done that yesterday. Will do so with this one! |
Are these two things?
|
The point is that when you have p
| Just some text mentioning "div#id"
| or perhaps it talks about "div.class"
div(id="id")
div(class="class") The use of |
After having worked a bit with this part of the code, it just occurred to me that there could be this theoretical scenario where the use of
replace()
will replace the wrong part of the content, because it's run on the full result, not just the current element:Input
Expected Output
Actual Output
I have ideas for how to fix this, will work on that next.
The text was updated successfully, but these errors were encountered: