HomePhabricator

Updated mediawiki/extensions Project…

Description

Updated mediawiki/extensions Project: mediawiki/extensions/SyntaxHighlight_GeSHi 206f0fd58599f8660528edcd815b38bb97e3aa4d

Fix "MWException: Unexpected output from Pygments" in highlight fallback

Follows-up 043969f84eb5c.

This caused a fatal MWException when saving/reading pages that contain a
<source> that couldn't be highlighted (e.g. no lang attribute, unknown
lang, or too large).

Specifically when wgWellFormedXml=false, in which case $out isn't
just from Pygments, but actually from our own Html::element.

Change-Id: Ib299a274d28021b2c7bba52d763dd1e17c1f09ec

Event Timeline