mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:15:55 +00:00
Revert "add experimental clientside headline clamping (refs #479)"
This reverts commit 26e4b12466.
This commit is contained in:
@@ -378,7 +378,8 @@ class Feeds extends Protected_Handler {
|
||||
$updated_fmt = make_local_datetime($this->link, $line["updated_noms"], false);
|
||||
|
||||
if (get_pref($this->link, 'SHOW_CONTENT_PREVIEW')) {
|
||||
$content_preview = strip_tags($line["content_preview"]);
|
||||
$content_preview = truncate_string(strip_tags($line["content_preview"]),
|
||||
100);
|
||||
}
|
||||
|
||||
$score = $line["score"];
|
||||
@@ -457,7 +458,7 @@ class Feeds extends Protected_Handler {
|
||||
$reply['content'] .= "<a id=\"RTITLE-$id\"
|
||||
href=\"" . htmlspecialchars($line["link"]) . "\"
|
||||
onclick=\"\">" .
|
||||
$line["title"];
|
||||
truncate_string($line["title"], 200);
|
||||
|
||||
if (get_pref($this->link, 'SHOW_CONTENT_PREVIEW')) {
|
||||
if ($content_preview) {
|
||||
|
||||
Reference in New Issue
Block a user