diff --git a/src/main/java/com/commafeed/backend/feeds/FeedUtils.java b/src/main/java/com/commafeed/backend/feeds/FeedUtils.java index 737da59e..c124125b 100644 --- a/src/main/java/com/commafeed/backend/feeds/FeedUtils.java +++ b/src/main/java/com/commafeed/backend/feeds/FeedUtils.java @@ -126,8 +126,8 @@ public class FeedUtils { whitelist.addAttributes("colgroup", "span", "width"); whitelist.addAttributes("iframe", "src", "height", "width", "allowfullscreen", "frameborder", "style"); - whitelist.addAttributes("img", "alt", "height", "src", "title", - "width"); + whitelist.addAttributes("img", "align", "alt", "height", "src", + "title", "width"); whitelist.addAttributes("ol", "start", "type"); whitelist.addAttributes("q", "cite"); whitelist.addAttributes("table", "border", "bordercolor", diff --git a/src/main/webapp/sass/components/_entry-list.scss b/src/main/webapp/sass/components/_entry-list.scss index e2f829a9..6c562cc7 100644 --- a/src/main/webapp/sass/components/_entry-list.scss +++ b/src/main/webapp/sass/components/_entry-list.scss @@ -104,16 +104,19 @@ font-weight: normal; } -#feed-accordion .entry-body img { - display: block; -} - #feed-accordion .entry-body-content { max-width: 650px; color: black; + padding-bottom: 10px; +} + +#feed-accordion .entry-enclosure { + clear: both; + padding-top: 10px; } #feed-accordion .entry-buttons { + clear: both; background-color: #fafafa; padding: 3px 0px; border-top: 1px solid #ebebeb; diff --git a/src/main/webapp/templates/feeds.view.html b/src/main/webapp/templates/feeds.view.html index a50397bd..466d286e 100644 --- a/src/main/webapp/templates/feeds.view.html +++ b/src/main/webapp/templates/feeds.view.html @@ -45,18 +45,20 @@