From: Andrew Dolgov Date: Fri, 26 Jul 2013 14:26:28 +0000 (+0400) Subject: add experimental css hyphens support for english language X-Git-Tag: 1.10~64 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ac57b9dd19333db9bed34bc70d945568292b77de;p=tt-rss.git add experimental css hyphens support for english language --- diff --git a/classes/feeds.php b/classes/feeds.php index def24521..adc86d21 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -621,7 +621,7 @@ class Feeds extends Handler_Protected { } $reply['content'] .= ""; - $reply['content'] .= "
"; + $reply['content'] .= "
"; if ($line["orig_feed_id"]) { diff --git a/css/cdm.css b/css/cdm.css index 2e1ffd2a..234f5339 100644 --- a/css/cdm.css +++ b/css/cdm.css @@ -223,6 +223,9 @@ div.cdm .hlFeed a { div.cdmContentInner p { max-width : 650px; text-align : justify; + -webkit-hyphens: auto; + -moz-hyphens: auto; + hyphens: auto; } div.cdmContentInner iframe { diff --git a/css/tt-rss.css b/css/tt-rss.css index ce30167e..f07154a3 100644 --- a/css/tt-rss.css +++ b/css/tt-rss.css @@ -995,6 +995,9 @@ span.collapseBtn { div.postContent p { max-width : 650px; text-align : justify; + -webkit-hyphens: auto; + -moz-hyphens: auto; + hyphens: auto; } div.postContent iframe { @@ -1018,6 +1021,9 @@ body#ttrssZoom { body#ttrssZoom div.postContent p { max-width : 650px; text-align : justify; + -webkit-hyphens: auto; + -moz-hyphens: auto; + hyphens: auto; } body#ttrssZoom div.postHeader { diff --git a/include/functions.php b/include/functions.php index ef5905fe..ccf530d1 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3286,7 +3286,7 @@ } $rv['content'] .= "
"; - $rv['content'] .= "
"; + $rv['content'] .= "
"; $rv['content'] .= $line["content"]; $rv['content'] .= format_article_enclosures($id,