Fixed bug where post could be edited to add tag that it already had
Minor changes to code spacing