Fix issue 510: Support text blocks in Diet templates

Fix issue #510
Again, not sure if it is the best approach.