Fixed feed links in feed viewer
This commit is contained in:
parent
d322c365ce
commit
58fc67bd99
2 changed files with 2 additions and 2 deletions
|
|
@ -195,7 +195,7 @@ $(function() {
|
|||
limitedSummary += "...";
|
||||
}
|
||||
|
||||
text += "<li><a href='" + item.link + "' target='_blank'>" + cutAfterNewline(item.title) + "</a><br><small>" + formatTimeAgo(item.published) + "</small><p>" + limitedSummary + "</p></li>";
|
||||
text += "<li><a href='" + item.link + "' target='_blank' rel='noreferrer noopener'>" + cutAfterNewline(item.title) + "</a><br><small>" + formatTimeAgo(item.published) + "</small><p>" + limitedSummary + "</p></li>";
|
||||
});
|
||||
text += "</ul>";
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
<!-- ko foreach: $data.data -->
|
||||
<hr data-bind="visible: $index() > 0">
|
||||
<article data-bind="css: {muted: $data.read}">
|
||||
<h3><a data-bind="text: $data.title, attr: {href: $data.url}"></a> <small data-bind="text: formatTimeAgo($data.published)"></small></h3>
|
||||
<h3><a data-bind="text: $data.title, attr: {href: $data.link}" target="_blank" rel="noreferrer noopener"></a> <small data-bind="text: formatTimeAgo($data.published)"></small></h3>
|
||||
<div data-bind="html: $data.summary"></div>
|
||||
<div class="actions">
|
||||
<small><a data-bind="click: function() { $root.markRead($parent.key, $data.published) }"><i class="icon-eye-open"></i> {{ _('Last read') }}</a></small>
|
||||
|
|
|
|||
Loading…
Reference in a new issue