Handle " in template delimiter text bounds

This fixes #62.
Merge pull request #72 from jponge/wip/fix-62

Handle " in template delimiter text bounds