Branch: refs/heads/backport-3052-to-stable-15.10.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: a26856d726e31b964a8f45a5b78ddfb36995bf02
https://github.com/xwiki/xwiki-platform/commit/a26856d726e31b964a8f45a5b78d…
Author: LucasC <lucas.charpentier(a)xwiki.com>
Date: 2024-10-23 (Wed, 23 Oct 2024)
Changed paths:
M
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-code/src/main/java/org/xwiki/rendering/internal/parser/pygments/DefaultPygmentsParserConfiguration.java
M
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-code/src/main/resources/pygments/code.py
A
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-code/src/main/resources/pygments/styles/xwiki_default.py
M
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-code/src/test/resources/macrocode14.test
M
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-code/src/test/resources/macrocode15.test
M
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-code/src/test/resources/macrocode4.test
M
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-code/src/test/resources/macrocode7.test
Log Message:
-----------
XWIKI-21387: The syntax highlighting done by the Code Macro lacks contrast (#3052)
* Created a pygment style in updated_default.py
* Updated the parser configuration to fallback on this style by default
* Updated tests to fit the new colortheme
(cherry picked from commit 5e913d9f88f10c85925679ef28cdb35f90de722f)
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications