summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/file/file.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/file/file.module b/modules/file/file.module
index 9f635f9d3..350387a86 100644
--- a/modules/file/file.module
+++ b/modules/file/file.module
@@ -650,10 +650,10 @@ function theme_file_link($variables) {
// Use the description as the link text if available.
if (empty($file->description)) {
- $link_text = check_plain($file->filename);
+ $link_text = $file->filename;
}
else {
- $link_text = check_plain($file->description);
+ $link_text = $file->description;
$options['attributes']['title'] = check_plain($file->filename);
}