-
Notifications
You must be signed in to change notification settings - Fork 62
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
Render mustache element as string #171
Comments
Hey @NachoMoment, thanks for the issue. Is there any way you could provide an example of the wrapping html that's causing an issue? I'm trying to wrap my head around the issue but I'm not sure I understand. |
Is this
If that's the case, breaks aren't allowed in JSON and those tags would need smushed onto one line, like so: But if you're trying to render the actual HTML, you would create a pattern called
Or if Sorry again if I'm still not understanding the situation. If you still need help, feel free to provide a bit more context on what you're trying to accomplish and I'll do my best to assist. |
I think we are on the same page, I'm just new to using pattern lab :) |
Is there a way to render a mustache element as a string instead of html? My element's html wraps and is 3 lines long so something like this '{{>my-element}}' doesn't work as the ' char doesn't show up at the end of the 3rd line.
The text was updated successfully, but these errors were encountered: