adding processing of <a> tags