Add spacing around plusses in language dropdown

It looks so much better!
This commit is contained in:
Jake Howard 2022-08-30 22:49:05 +01:00
parent f3b603a82a
commit 768223ba67
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -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):