Added parsing code for template and text formatting removal
Added parsing code for template and text formatting removal