The Template Code
widget purpose is to allow the admin to add a block of template code to the page.
The input area of the 'Template Code' widget should be considered the same as a .tpl file found in the skin.
As such it can accept Smarty Code
page so you understand why it may break and how to prevent it.