support variable in text
support 'if' and 'else' tag