0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-24 14:34:39 +03:00

Prettify release notes

This commit is contained in:
Andrey Onishchenko 2024-03-14 18:38:33 +03:00
parent 3bbc30ffe7
commit 9c375fee35

View File

@ -16,7 +16,7 @@ def build_html(data, first_launch=False):
html += f"<h3>{element['value']}</h3>".replace('\n', '<br/>') html += f"<h3>{element['value']}</h3>".replace('\n', '<br/>')
continue continue
if element['value'] == '\n': if element['value'] == '\n':
html += "<br/>" continue
else: else:
html += f"<span>{element['value']}</span>".replace('\n', '<br/>') html += f"<span>{element['value']}</span>".replace('\n', '<br/>')
elif element['type'] == 8: elif element['type'] == 8: