diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-11-30 23:52:44 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-11-30 23:55:09 +0100 |
| commit | 7eda5da6e7b9fb8c26a49400fc01468063770353 (patch) | |
| tree | 55a673a459b847ca21075cefdfd863d440d6ad58 /admin/feeds | |
| parent | 3d8c43ddce5fc7a1f1d21dd843d5ac7da609a581 (diff) | |
| download | quatuorbellefeuille.com-7eda5da6e7b9fb8c26a49400fc01468063770353.tar.xz | |
Add precision about next concert
Also prevent scripts from generating empty paragraphs.
Diffstat (limited to 'admin/feeds')
| -rwxr-xr-x | admin/feeds/build-feed.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/feeds/build-feed.py b/admin/feeds/build-feed.py index 6c95161..d70154f 100755 --- a/admin/feeds/build-feed.py +++ b/admin/feeds/build-feed.py @@ -95,7 +95,7 @@ def cdata_concert(concert, lang): E.ol( *(XML(f'<li>{line}</li>') for line in pieces.splitlines()) ), - *(XML(f'<p>{line}</p>') for line in instructions.splitlines()), + *(XML(f'<p>{line}</p>') for line in instructions.splitlines() if line), )) # Do a silly dance to indent CDATA correctly. |
