add experimental css hyphens support for english language

This commit is contained in:
Andrew Dolgov 2013-07-26 18:26:28 +04:00
parent 1c8bcb580e
commit ac57b9dd19
4 changed files with 11 additions and 2 deletions

View File

@ -621,7 +621,7 @@ class Feeds extends Handler_Protected {
} }
$reply['content'] .= "</div>"; $reply['content'] .= "</div>";
$reply['content'] .= "<div class=\"cdmContentInner\">"; $reply['content'] .= "<div class=\"cdmContentInner\" lang=\"en\">";
if ($line["orig_feed_id"]) { if ($line["orig_feed_id"]) {

View File

@ -223,6 +223,9 @@ div.cdm .hlFeed a {
div.cdmContentInner p { div.cdmContentInner p {
max-width : 650px; max-width : 650px;
text-align : justify; text-align : justify;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
} }
div.cdmContentInner iframe { div.cdmContentInner iframe {

View File

@ -995,6 +995,9 @@ span.collapseBtn {
div.postContent p { div.postContent p {
max-width : 650px; max-width : 650px;
text-align : justify; text-align : justify;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
} }
div.postContent iframe { div.postContent iframe {
@ -1018,6 +1021,9 @@ body#ttrssZoom {
body#ttrssZoom div.postContent p { body#ttrssZoom div.postContent p {
max-width : 650px; max-width : 650px;
text-align : justify; text-align : justify;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
} }
body#ttrssZoom div.postHeader { body#ttrssZoom div.postHeader {

View File

@ -3286,7 +3286,7 @@
} }
$rv['content'] .= "</div>"; $rv['content'] .= "</div>";
$rv['content'] .= "<div class=\"postContent\">"; $rv['content'] .= "<div class=\"postContent\" lang=\"en\">";
$rv['content'] .= $line["content"]; $rv['content'] .= $line["content"];
$rv['content'] .= format_article_enclosures($id, $rv['content'] .= format_article_enclosures($id,