diff --git a/musicdb-server/src/web.rs b/musicdb-server/src/web.rs index c23976f..406fe4c 100755 --- a/musicdb-server/src/web.rs +++ b/musicdb-server/src/web.rs @@ -122,7 +122,7 @@ runLoop();"#; dbg!(&queue); drop(db); RawHtml(format!( - "{HTML_START}MusicDb{script}{HTML_SEP}
no javascript? reload to see updated information.
{now_playing}
{buttons}
{search}
{queue}
{script2}{HTML_END}", + "{HTML_START}MusicDb{script}{HTML_SEP}
no javascript? reload to see updated information.
{now_playing}
{buttons}
{search}
{queue}
{script2}{HTML_END}", )) } #[get("/now-playing-html")] @@ -160,15 +160,15 @@ fn gen_queue_html_impl( QueueContent::Song(id) => { if let Some(song) = db.songs().get(id) { str.push_str("
"); + str.push_str(&format!(""); if active_highlight { str.push_str(""); } + str.push_str(""); str.push_str(""); if let Some(artist) = db.artists().get(&song.artist) { str.push_str(" by ");