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
Adding a meta tag into a freemarker template e.g. base login template.ftl, is quite easy. The meta property from theme.properties is parsed and added into the template header, e.g. like this:
Now this is great, but works only with simple meta tags e.g. meta=Content-Type==text/html
But the issue I'm having is with more complex meta tags, because I assume due to parsing, this results in an error (due to whitespaces iinm) meta=Content-Type==text/html; charset=UTF-8
How do you deal with special chars and empty spaces in the theme.properties? Any way to escape these?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Adding a meta tag into a freemarker template e.g. base login template.ftl, is quite easy. The meta property from theme.properties is parsed and added into the template header, e.g. like this:
Now this is great, but works only with simple meta tags e.g.
meta=Content-Type==text/htmlBut the issue I'm having is with more complex meta tags, because I assume due to parsing, this results in an error (due to whitespaces iinm)
meta=Content-Type==text/html; charset=UTF-8How do you deal with special chars and empty spaces in the theme.properties? Any way to escape these?
Beta Was this translation helpful? Give feedback.
All reactions