Thymeleaf 3.0.7 发布,更新内容如下:
Fixed JavaScript line comment (//) parsing breaks when EOF comes before \n (script ends in the comment line).
Improved escaping of attributes in XML template mode: \t, \n and \r now being always escaped in order to prevent them being normalised into white spaces by XML parsers when reading (which would be according to the spec).
Improved #numbers.sequence(...) behaviour so that zero-element sequences are now returned when it is not possible to get from the initial to the final values using the specified step (was returning an error).
Updated Unbescape dependency to 1.1.5.RELEASE.
{a} 和{{a}} 不一样
#{a} ${a} 也不一样
还有自以为能打开浏览器能直接预览的模板,预览后,全是静态文本,没有占位符指示,直接懵懂了
引用来自“小杨阿哥哥”的评论
汇编语言速度快,都汇编写,其他的都别用了,执行快,写起来不就费劲了。原生js快,还用啥jquery。。喷不好用的,我敢说一定没有深入使用过,估计就是简单看了看文档,然后尝试了下,因为不熟悉,所以老是遇到问题,然后就放弃,开始说不好用了。我就不信他们第一次接触spring的时候没遇到过坑,但是因为别人都说好用,所以只能仔细研究,最终发现,嗯,确实很好用