bug 1171: no need to do nbsp conversion when using pre instead of tt
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 21 Dec 2023 17:53:50 +0000 (17:53 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 21 Dec 2023 17:53:50 +0000 (17:53 +0000)
src/budget_sync/main.py

index 5baa1c37855617c79740e2f502fa58c5873ab3b5..7ddcebfddad96472013de51fb935d377eaaf987a 100644 (file)
@@ -16,6 +16,7 @@ from budget_sync.write_budget_markdown import (write_budget_markdown,
                                                markdown_for_person)
 
 def spc(s):
+    return s # not needed when using <pre> instead of <tt>
     return s.replace(" ", "&nbsp;")
 
 bugurl = "https://bugs.libre-soc.org/show_bug.cgi?bug="