more robust
re-fix #512 by disallowing immediately-nested string templates