diff --git a/lintunes/__init__.py b/lintunes/__init__.py index 0b23bfa..8c0b578 100644 --- a/lintunes/__init__.py +++ b/lintunes/__init__.py @@ -1,3 +1,3 @@ """LinTunes — iTunes-style music library manager and player for Linux.""" -__version__ = "0.48.0" +__version__ = "0.48.1" diff --git a/lintunes/export/templates/index.html.tmpl b/lintunes/export/templates/index.html.tmpl index a442521..8e35873 100644 --- a/lintunes/export/templates/index.html.tmpl +++ b/lintunes/export/templates/index.html.tmpl @@ -63,6 +63,7 @@ $tracklist

--> +

$image_tag diff --git a/tests/test_round81.py b/tests/test_round81.py index 0dd5710..6f6c1f9 100644 --- a/tests/test_round81.py +++ b/tests/test_round81.py @@ -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 "

" in gap