diff options
author | Andrew Dolgov <[email protected]> | 2012-08-09 13:08:07 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-08-09 13:08:07 +0400 |
commit | 26e4b12466208b433fef35946cb61ef9b3e52e45 (patch) | |
tree | ecea436be258b93abe7c1a1ee219f17f18c4cb47 /classes | |
parent | 18e8dc12d9ad11093013fec590c2c29630b8ac95 (diff) |
add experimental clientside headline clamping (refs #479)
Diffstat (limited to 'classes')
-rw-r--r-- | classes/feeds.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 0c9812479..23c9e783f 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -378,8 +378,7 @@ 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 = truncate_string(strip_tags($line["content_preview"]),
- 100);
+ $content_preview = strip_tags($line["content_preview"]);
}
$score = $line["score"];
@@ -458,7 +457,7 @@ class Feeds extends Protected_Handler { $reply['content'] .= "<a id=\"RTITLE-$id\"
href=\"" . htmlspecialchars($line["link"]) . "\"
onclick=\"\">" .
- truncate_string($line["title"], 200);
+ $line["title"];
if (get_pref($this->link, 'SHOW_CONTENT_PREVIEW')) {
if ($content_preview) {
|