handles tags inside title tag