1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 08:35:55 +00:00

Article.render: parse dojo widgets

This commit is contained in:
Andrew Dolgov
2021-02-16 22:05:12 +03:00
parent 91e7969383
commit 89e8176c69

View File

@@ -242,6 +242,8 @@ const Article = {
container.innerHTML = row.getAttribute("data-content").trim();
dojo.parser.parse(container);
// blank content element might screw up onclick selection and keyboard moving
if (container.textContent.length == 0)
container.innerHTML += " ";