summaryrefslogtreecommitdiff
path: root/classes/feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-19 15:03:48 +0300
committerAndrew Dolgov <[email protected]>2021-02-19 15:03:48 +0300
commit131f34648d8b8fa8388f619c144480e06f5f9921 (patch)
treeffd368ae79c68d59587cf0cc308e8c5185fb3c9f /classes/feeds.php
parent660a1bbe011fef5f0fa6bb0af43521fed7598cc7 (diff)
render headline labels on the client
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-xclasses/feeds.php6
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);