Fix collapse title for MD and HTML