diff options
author | Andrew Dolgov <[email protected]> | 2021-02-19 15:03:48 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-19 15:03:48 +0300 |
commit | 131f34648d8b8fa8388f619c144480e06f5f9921 (patch) | |
tree | ffd368ae79c68d59587cf0cc308e8c5185fb3c9f /classes/feeds.php | |
parent | 660a1bbe011fef5f0fa6bb0af43521fed7598cc7 (diff) |
render headline labels on the client
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-x | classes/feeds.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 04553451c..1e1b20d93 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -216,11 +216,7 @@ class Feeds extends Handler_Protected { if (!is_array($labels)) $labels = Article::_get_labels($id); - $labels_str = "<span class=\"HLLCTR-$id\">"; - $labels_str .= Article::_format_labels_html($labels); - $labels_str .= "</span>"; - - $line["labels"] = $labels_str; + $line["labels"] = Article::_get_labels($id); if (count($topmost_article_ids) < 3) { array_push($topmost_article_ids, $id); |