Fix result editing bug
Remove closing PHP tags (just causes potential for stray
newlines..)