mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:35:55 +00:00
Article.render: parse dojo widgets
This commit is contained in:
@@ -242,6 +242,8 @@ const Article = {
|
|||||||
|
|
||||||
container.innerHTML = row.getAttribute("data-content").trim();
|
container.innerHTML = row.getAttribute("data-content").trim();
|
||||||
|
|
||||||
|
dojo.parser.parse(container);
|
||||||
|
|
||||||
// blank content element might screw up onclick selection and keyboard moving
|
// blank content element might screw up onclick selection and keyboard moving
|
||||||
if (container.textContent.length == 0)
|
if (container.textContent.length == 0)
|
||||||
container.innerHTML += " ";
|
container.innerHTML += " ";
|
||||||
|
|||||||
Reference in New Issue
Block a user