You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would likely break your code above which uses a string:
{%= a.Url %}
This would have to be changed to:
{%= templ.URL(a.URL) %}
This would then ensure that a.URL is sanitised by templ, to remove potential attack vectors from the href attribute. To avoid the extra sanitisation, you'd use templ.SafeURL(a.URL) to mark the variable content as trusted.
nav.templ:
nav_templ.go (it stops after the imports):
Strangely enough this also fails when I try 'data-turbo-permanent="true"' potentially todo with the dashes aswell?
Tried doing a "valueless" attribute without dashes like "hidden". That also resulted in the same outut.
The text was updated successfully, but these errors were encountered: