Addded tag where the value is not suppose to be escaped ({{{value}}})
Netbeans formating altered a few things
Simplified how to check for tag by creating function is_tag
Created tag_handle. This will contain all the code to handle the various
types of tags