-
-
Notifications
You must be signed in to change notification settings - Fork 705
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
Strange marker node bug #3598
base: leptos_0.8
Are you sure you want to change the base?
Strange marker node bug #3598
Conversation
CI failures show the same issue I'm describing |
It's going to be something like " This is probably true in other situations where a marker (I have not looked at any source code but that looks like what's happening to me) |
@gbj thanks! If my second (tiny) commit is what you were describing, then this seems to have fixed it. Seems to work fine locally. The html diff error in the (this erase impl is obviously going to be erase feature flagged in the final version) |
@zakstucke Looks like it needs a bit of tweaking, you probably didn't mean to insert more |
I can't find the test that failed, but one of them failed with a weird
Which seems like you're not escaping enough? Or differently than we were before, so the tests fail |
Commit looks right to me -- not sure why it adds escape placeholders in the |
This is a rather unorthodox bug report, but I thought this would be the easiest way to review and checkout locally.
Whilst adding erasure, I think I've stumbled on a bug, or something very weird.
It seems having
HtmlElement
extend it's children asVec<AnyView>
breaks leptos somehow. With this PR, runningcounter_isomorphic
cargo leptos watch
and checking out the site, console shows:Which is a random
<!>
marker in the html in the second line of this snippet:I'm pretty confused how it could be anything wrong with this diff, and I've un erased flagged it so this is verifiable in normal mode. Any ideas @gbj?
I also checked patching 0.8 branch with the solution to #3583, but doesn't help.