This is a stupid and annoying trait of the compiler based on our decision to support traditional comparison expressions. The TEIF and TEELIF tags REQUIRE that your end the tag with an immediate CRLF following the ">" character. This enables the top-level parser to properly "cut" the expression to pass to the lower-level expression parser.
Your TEIF has a blank following the ">", before the CRLF...just do an "end" in your editor and whack the blank and you should be okay.
A giveaway in the future when you see this is that rather than just showing you the TEIF, it showed you the other tags following it...that's because the top-level parser didn't properly identify the end of the TEIF and thought that you just had a "greater-than" symbol...