From 5cbe4f68c8307880720c2e1c635b05da50caa872 Mon Sep 17 00:00:00 2001 From: Aurelien David Date: Sun, 16 Dec 2018 17:25:36 +0100 Subject: [PATCH] fix handling of xhtml atom content (#9) --- manifest.json | 2 +- rsspreview.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manifest.json b/manifest.json index 840d07a..364741d 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "RSSPreview", - "version": "2.3.1", + "version": "2.3.2", "author": "Aurelien David", "homepage_url": "https://github.com/aureliendavid/rsspreview", diff --git a/rsspreview.js b/rsspreview.js index 1cd57d3..6371f85 100644 --- a/rsspreview.js +++ b/rsspreview.js @@ -85,11 +85,7 @@ for (var i = 0; i'+tohtml[i].innerText+'', "text/html"); @@ -110,6 +106,10 @@ if (a.getAttribute("todel") == "1") { a.remove(); } + else if (a.getAttribute("desctype") == "xhtml") { + a.classList.add("feedEntryContent"); + a.classList.remove("feedRawContent"); + } }) }