Adding condition html tags back