I dont think this needs to be overly complex, probably a simple check for "{%" and "{{" would suffice for now