2 ms·
One issue is if you're using Angular. Your html document needs to be xhtml compatible, meaning that an expression like this: <div ng-if="this() && that()" ..
by kentosi 10y ago
One issue is if you're using Angular. Your html document needs to be xhtml compatible, meaning that an expression like this:
<div ng-if="this() && that()" ...
Needs to become:
<div ng-if="this() && that()" ...
If this doesn't bother you (along with > for <, etc) then go ahead.
- manyxcxi 10y agoIt doesn't have to if you write your own dialect for Thymeleaf. You can alter the flow of the output manipulation and validation- it's out of the box that it chokes on the 'weird' stuff being shoved into attribute tags nowadays for JS templates. If you want the unescaped output there are lots of things you can do. I did something similar for Vue.js in about twenty minutes and a few lines of code.