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

ws-preserve in templates produces garbage in output #244

Closed
granicz opened this issue Oct 16, 2022 · 0 comments
Closed

ws-preserve in templates produces garbage in output #244

granicz opened this issue Oct 16, 2022 · 0 comments

Comments

@granicz
Copy link
Member

granicz commented Oct 16, 2022

I have a template file with the following fragment:

<p>This won't be hidden</p>
<p ws-replace="HideMe">Is this going to show up?</p>
<div ws-preserve>
    ${Hello}
    <p ws-replace="WontHide">Is this going to show up? Hope so...</p>
</div>

After leaving HideMe unassigned, it correctly gets removed from the DOM, but the ws-preserve block produces the following:

image

@granicz granicz added the bug label Oct 16, 2022
Jand42 added a commit that referenced this issue Oct 17, 2022
Jand42 added a commit that referenced this issue Oct 20, 2022
@granicz granicz added this to High priority for current version in Releases Nov 16, 2022
@Jand42 Jand42 closed this as completed Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Releases
High priority for current version
Development

No branches or pull requests

3 participants