]> git.wh0rd.org - tt-rss.git/commitdiff
add experimental css hyphens support for english language
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 26 Jul 2013 14:26:28 +0000 (18:26 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 26 Jul 2013 14:26:28 +0000 (18:26 +0400)
classes/feeds.php
css/cdm.css
css/tt-rss.css
include/functions.php

index def24521a80cf7d2adbbe1aa0dd080503b0ca9b1..adc86d21a3e16e8dc837d55ed90bced0157bd443 100644 (file)
@@ -621,7 +621,7 @@ class Feeds extends Handler_Protected {
                                        }
                                        $reply['content'] .= "</div>";
 
-                                       $reply['content'] .= "<div class=\"cdmContentInner\">";
+                                       $reply['content'] .= "<div class=\"cdmContentInner\" lang=\"en\">";
 
                        if ($line["orig_feed_id"]) {
 
index 2e1ffd2ab0922d4d771b63f24639a614860eb1f7..234f533986025b697ee2d0904e00f5405e131688 100644 (file)
@@ -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 {
index ce30167e0f8f391171d0c98624236534b0f87aab..f07154a3bd7384dc6ccf6e7953eb90964f7bc808 100644 (file)
@@ -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 {
index ef5905fe2e118442e2427857ff8cd7da6853df18..ccf530d1762583171bef8563fc22597993ed9969 100644 (file)
                                }
                        $rv['content'] .= "</div>";
 
-                       $rv['content'] .= "<div class=\"postContent\">";
+                       $rv['content'] .= "<div class=\"postContent\" lang=\"en\">";
 
                        $rv['content'] .= $line["content"];
                        $rv['content'] .= format_article_enclosures($id,