Added test for thymeleaf/thymeleaf#236. Flags for processing text and comment nodes not being propagated to children