Separate words on different line chunks.
This commit is contained in:
parent
058f0caf73
commit
fe052d3468
@ -512,7 +512,7 @@ def render_text_tokens(tokens, acc, headline, graph):
|
|||||||
description=html.escape(word)))
|
description=html.escape(word)))
|
||||||
else:
|
else:
|
||||||
line_chunks.append(html.escape(word))
|
line_chunks.append(html.escape(word))
|
||||||
contents.append(''.join(line_chunks))
|
contents.append(' '.join(line_chunks))
|
||||||
|
|
||||||
acc.append('<span class="line">{}</span>'.format('</p><p>'.join(contents)))
|
acc.append('<span class="line">{}</span>'.format('</p><p>'.join(contents)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user