Skip to content

Commit

Permalink
Fix list information data display
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Oct 17, 2013
1 parent 8cd3093 commit a953d45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions imp/lib/Basic/Message.php
Expand Up @@ -1019,7 +1019,7 @@ protected function _parseListHeaders($id, $data)
$output .= ' (' . $val2 . ')';
}
break;
} elseif ($url = $text_filter->filter($val, 'linkurls')) {
} elseif ($url = $text_filter->filter($val->url, 'linkurls')) {
$output = $url;
foreach ($val->comments as $val2) {
$output .= ' (' . $val2 . ')';
Expand All @@ -1028,7 +1028,9 @@ protected function _parseListHeaders($id, $data)
}
}

return $output;
return strlen($output)
? $output
: htmlspecialchars($data);
}

}

0 comments on commit a953d45

Please sign in to comment.