-
Notifications
You must be signed in to change notification settings - Fork 319
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 from database #75
Comments
Hi, |
Well, that is straight embarrassing. I'm already pulling repeat from lit anyway. Didn't even think to look through there. |
Yup, totally solves the problem. |
No shame at all! Mistakes happen and this was easy to overlook. Glad the function solved your problem. |
I've been having a hard time all day with this one.
I have a complicated templating system, but I'll simplify here.
So I've got some templates that pull from json:
They render as I would expect:, (note the text break)
And I have other ones that pull very similar content from the database. It essentially looks the same. But it renders it all as text.
I have tried wrapping the db entry in html`` and creating a function that wraps it. Nothing seems to work. Is there a way to insert html in a ${} and preserve the html-ness?
The text was updated successfully, but these errors were encountered: