diff --git a/classes/handler/public.php b/classes/handler/public.php
index 15d150619..f73427cbf 100755
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -388,26 +388,29 @@ class Handler_Public extends Handler {
$rv .= "
-
+
".$line["title"]."".
stylesheet_tag("css/default.css")."
-
- ";
+
+ ";
- $rv .= "\n";
- //$rv .= "\n";
- $rv .= "\n";
+ $rv .= "\n";
+ truncate_string(
+ preg_replace("/[\r\n\t]/", "",
+ preg_replace("/ {1,}/", " ",
+ strip_tags(html_entity_decode($line["content"], ENT_NOQUOTES | ENT_HTML401))
+ )
+ ), 500, "...")
+ )."\"/>\n";
$rv .= "";
$og_image = $this->get_article_image($enclosures, $line['content'], $line["site_url"]);
if ($og_image) {
- $rv .= "";
+ $rv .= "";
}
$rv .= "";
@@ -442,7 +445,7 @@ class Handler_Public extends Handler {
/* content */
$lang = $line['lang'] ? $line['lang'] : "en";
- $rv .= "";
+ $rv .= "
";
/* content body */