Issue #2785387 by martin107, Sahil Khambra: Replaced deprecated SafeMarkup::checkPlain with Html::escape.