This might be caused by something wrong happening in the HTML Editor - <
triggers the code completion and if
is just the first option.
Even we couldn't repro the issue, it should not happen anymore to you now; we have changed the PHP Editor implementation from scratch.