switched the prefex matching to the new system
organizing the parse function to pick better variable names
changed the name of the variable "match" to "sanitizedTag"
created a new variable to hold the output function instead of the sanitized tag variable
removed the old sanitized tag lines
simplified the creating newline function