v0.48.1: a web mix leaves a blank line between the description and the image

This commit is contained in:
2026-10-10 23:29:46 -07:00
parent e9488c5289
commit 4d7c17e41d
3 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
"""LinTunes — iTunes-style music library manager and player for Linux."""
__version__ = "0.48.0"
__version__ = "0.48.1"
@@ -63,6 +63,7 @@ $tracklist
</p>
-->
<br><br>
$image_tag
</div>
</body>
+9
View File
@@ -465,3 +465,12 @@ def test_player_ships_a_shuffle_button():
assert 'class="shuffle"' in js and "setShuffle" in js
assert ".audiojs .shuffle.on" in css
def test_description_and_image_are_spaced_apart(tmp_path):
tracks = [_track(1, _audio(tmp_path, "a.mp3"))]
plan = exporter.plan_export("Mix", tracks, tmp_path / "out", exporter.WEB)
page = exporter.build_index_html(plan, "placeholder.png")
gap = page[page.index(plan.description) + len(plan.description):
page.index("placeholder.png")]
assert "<br><br>" in gap