Handle apostrophes in tab labels