append the ticket id at the end of comment if it is available.
link the ticket id at the last moment
comment may have HTML code sometime.