Add spacing around plusses in language dropdown
It looks so much better!
This commit is contained in:
parent
f3b603a82a
commit
768223ba67
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ from wagtail.blocks import ChoiceBlock, StructBlock, StructValue, TextBlock
|
||||||
|
|
||||||
def get_language_choices() -> Iterator[tuple[str, str]]:
|
def get_language_choices() -> Iterator[tuple[str, str]]:
|
||||||
for name, _, _, _ in sorted(get_all_lexers()):
|
for name, _, _, _ in sorted(get_all_lexers()):
|
||||||
yield (name, name)
|
yield (name, name.replace("+", " + "))
|
||||||
|
|
||||||
|
|
||||||
class CodeStructValue(StructValue):
|
class CodeStructValue(StructValue):
|
||||||
|
|
Loading…
Reference in a new issue