Incorrect(?) Autocompletion in HTML Editor

In the HTML editor, when I type <code (without the closing bracket), then hit TAB, the resulting text is as follows:

<code< body=""></code<>