summaryrefslogtreecommitdiffstats
path: root/lib/class/album.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/album.class.php')
-rw-r--r--lib/class/album.class.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/class/album.class.php b/lib/class/album.class.php
index f6bb6c43..c1deb274 100644
--- a/lib/class/album.class.php
+++ b/lib/class/album.class.php
@@ -140,9 +140,9 @@ class Album {
$web_path = conf('web_path');
/* Truncate the string if it's to long */
- $name = htmlspecialchars(truncate_with_ellipse($this->name,conf('ellipse_threshold_album')));
- $artist = htmlspecialchars($this->artist);
- $this->f_name = "<a href=\"$web_path/albums.php?action=show&amp;album=" . $this->id . "\" title=\"" . $name . "\">" . $name . "</a>";
+ $name = scrub_out(truncate_with_ellipse($this->name,conf('ellipse_threshold_album')));
+ $artist = scrub_out($this->artist);
+ $this->f_name = "<a href=\"$web_path/albums.php?action=show&amp;album=" . $this->id . "\" title=\"" . scrub_out($this->name) . "\">" . $name . "</a>";
$this->f_songs = "<div align=\"center\">" . $this->songs . "</div>";
if ($this->artist_count == '1') {
$this->f_artist = "<a href=\"$web_path/artists.php?action=show&amp;artist=" . $this->artist_id . "\">" . $artist . "</a>";