diff --git a/website/contrib/code_block/blocks.py b/website/contrib/code_block/blocks.py index 4e225ca..4005faf 100644 --- a/website/contrib/code_block/blocks.py +++ b/website/contrib/code_block/blocks.py @@ -9,7 +9,7 @@ from wagtail.blocks import ChoiceBlock, StructBlock, StructValue, TextBlock def get_language_choices() -> Iterator[tuple[str, str]]: for name, _, _, _ in sorted(get_all_lexers()): - yield (name, name) + yield (name, name.replace("+", " + ")) class CodeStructValue(StructValue):