summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/feeds.php2
-rw-r--r--css/cdm.css3
-rw-r--r--css/tt-rss.css6
-rw-r--r--include/functions.php2
4 files changed, 11 insertions, 2 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index def24521a..adc86d21a 100644
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -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"]) {
diff --git a/css/cdm.css b/css/cdm.css
index 2e1ffd2ab..234f53398 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 ce30167e0..f07154a3b 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 ef5905fe2..ccf530d17 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -3286,7 +3286,7 @@
}
$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,