visitText to use textContent getter so subclassing Text class works correctly. (dart-lang/markdown#431)