From fe052d3468bdb499a58c4da6b452f154fb5eb6e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Tue, 15 Nov 2022 21:12:13 +0100 Subject: [PATCH] Separate words on different line chunks. --- scripts/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate.py b/scripts/generate.py index 24f586f..718b65d 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -512,7 +512,7 @@ def render_text_tokens(tokens, acc, headline, graph): description=html.escape(word))) else: line_chunks.append(html.escape(word)) - contents.append(''.join(line_chunks)) + contents.append(' '.join(line_chunks)) acc.append('{}'.format('

'.join(contents)))