Why not add an id attribute or something so you _know_ you're removing the tag you added? Also, why not use RegExp()? Otherwise approved!
The user can remove the tags if they cut all the text. Some of the plugins will also remove/modify these tags.
I didn't use RegExp because there are only 2 strings to test for. Thanks! Phil
