Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
13.1-rc-1
-
None
-
Unknown
-
Description
Pygments 2.5.2 is the latest release of Pygments that does not require Python 3, but presents a bug where the auto identification of the syntax of a piece of code returns too often MIME or SQL.
This fix is available on Pygments 2.8.0 (https://github.com/pygments/pygments/commit/7e6dbb20ce189022f1b0a058f44bd1c0b9d529a5)) but requires python 3, which we do no support. We could backport it to a custom patched pygments 2.5.2 version.
Attachments
Issue Links
- is related to
-
XWIKI-17107 Upgrade to Pygments 2.6+
- Open
- relates to
-
XWIKI-18363 Auto-detection of language with the code macro is broken
- Closed