Skip to content
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

[html] html template can fail to include text nodes in the output #2299

Open
trusktr opened this issue Sep 20, 2024 · 2 comments
Open

[html] html template can fail to include text nodes in the output #2299

trusktr opened this issue Sep 20, 2024 · 2 comments
Labels
alternative templating Related to non-JSX template engines

Comments

@trusktr
Copy link
Contributor

trusktr commented Sep 20, 2024

Describe the bug

Sometimes html can fail to include text nodes in the output.

Your Example Website or App

https://playground.solidjs.com/anonymous/d10b1bee-80b9-4e43-9a24-9907ea2f7fd0

Steps to Reproduce the Bug or Issue

The output is missing the foo: .

Expected behavior

Expect to see foo: included in the output.

Screenshots or Videos

No response

Platform

n/a

Additional context

No response

@ryansolid ryansolid added the alternative templating Related to non-JSX template engines label Sep 23, 2024
@JeredArc
Copy link

JeredArc commented Oct 9, 2024

I've experienced the same issue! I've come to the conclusion, that it ignores leading text. Any text that comes after (or inside) a tag is rendered, only text at the beginning is missing.

I consider this a bug!

@ryansolid
Copy link
Member

@JeredArc .. thanks that makes a lot of sense. The other methods have no top-level that can take text (h, jsx) so this was an oversight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alternative templating Related to non-JSX template engines
Projects
None yet
Development

No branches or pull requests

3 participants