Stopped ACE from autoclosing tags in the middle of a line.

Test Plan:
Check that it still autocloses when nothing follows the tag
Check that it does not close when something follows the tag

Reviewers: pamela, john

Reviewed By: john

Subscribers: #cs

Differential Revision: http://phabricator.khanacademy.org/D13579