bug fix https://github.com/thymeleaf/thymeleaf/issues/145
Merge pull request #146 from sunil0791/2.0-master

bug fix https://github.com/thymeleaf/thymeleaf/issues/145