]> git.wh0rd.org - tt-rss.git/commitdiff
properly truncate headline title in non-combined mode
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 16 Oct 2011 12:40:15 +0000 (16:40 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 16 Oct 2011 12:40:15 +0000 (16:40 +0400)
functions.php

index a8e0461f0c0385fc803307a404ad1822164338e9..1776d2dbb956c75aa73a2fceba345a8595656890 100644 (file)
                                        $reply['content'] .= "<a id=\"RTITLE-$id\"
                                                href=\"" . htmlspecialchars($line["link"]) . "\"
                                                onclick=\"\">" .
-                                               $line["title"];
+                                               truncate_string($line["title"], 200);
 
                                        if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {
                                                if ($content_preview) {