From add90bc902ce762626fe72d408f42d705d3f9de7 Mon Sep 17 00:00:00 2001 From: xgizzmo Date: Mon, 6 Aug 2007 02:08:01 +0000 Subject: Fix link given out by song class so that they can pass validation --- lib/class/song.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/class') diff --git a/lib/class/song.class.php b/lib/class/song.class.php index 2b63be6b..a8155777 100644 --- a/lib/class/song.class.php +++ b/lib/class/song.class.php @@ -678,9 +678,9 @@ class Song { $this->f_title = truncate_with_ellipsis($this->title,Config::get('ellipse_threshold_title')); // Create Links for the different objects - $this->f_link = "id . "\">$this->f_title"; - $this->f_album_link = "album . "\">$this->f_album"; - $this->f_artist_link = "artist . "\">$this->f_artist"; + $this->f_link = "id . "\"> " . scrub_out($this->f_title) . ""; + $this->f_album_link = "album . "\"> " . scrub_out($this->f_album) . ""; + $this->f_artist_link = "artist . "\"> " . scrub_out($this->f_artist) . ""; // Format the Bitrate $this->f_bitrate = intval($this->bitrate/1000) . "-" . strtoupper($this->mode); -- cgit