Fix critical bug with HTML in thread title