Fix #316

It still have a bug when using string like this:

" teste {{}} teste"
Fix #315 by @pacmanis

Credits go to @pacmanis
Merge pull request #318 from conde2/master

Fix #316