Fix the displaying of PGN text for WebKit-based browsers.