Closed Jhnvlglmlbrt closed 7 months ago
@Jhnvlglmlbrt what is the HTML output after it is rendered ?
have you tried https://docs.djangoproject.com/en/dev/ref/templates/builtins/#autoescape
or the safe pipeline see #326 (comment) -> https://github.com/gofiber/template/tree/master/django#setting-autoescape-using-django-built-in-template-tags
I see that -
<td><div class="badge badge-success">healthy</div></td>
I used engine.SetAutoEscape(false). There is no need for autoescape. I guess the problem in tailwindcss. Its just cant compile that html into css.
okay, but then it has nothing to do with our template engine and everything works as expected
please contact the software experts of the other systems
Question Description
Im having trouble embedding a function using engine.addFunc in my HTML. I have already set Auto Escape to false, but the style just doesn't seem to be applying to the HTML. Any ideas what could be going wrong? I want to add that I use tailwindcss. Perhaps the style is simply not generated this way. But then what to do.
Code Snippet (optional)
Checklist: