improved anchor tags to use processAttributes method