Strip formatting from hostmasks so the line formatter doesn't frob the tooltip