* To avoid such ambiguity, we require all branches of a conditional statement to end in the
* same context. So, <?cs if: X ?><script>X <?cs else ?><script>Y<?cs /if ?> is fine but,
*
* <?cs if: X ?><script>X <?cs elif: Y ?><script>Y<?cs /if ?> is not.
*/
AutoEscapeContext originalEscapedContext = autoEscapeContext.cloneCurrentEscapeContext();
// Save position of the start of if statement.
int line = autoEscapeContext.getLineNumber();
int column = autoEscapeContext.getColumnNumber();
if (node.getBlock() != null) {