mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-02 23:41:37 +00:00
Use HTML binding in the excerpt.
This commit is contained in:
parent
58ab888f3f
commit
42bd1852c6
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ block content
|
||||||
ng-repeat="announcement in announcements | filter:(ui.newItems ? { read: false } : '') track by announcement.id"
|
ng-repeat="announcement in announcements | filter:(ui.newItems ? { read: false } : '') track by announcement.id"
|
||||||
)
|
)
|
||||||
h2.announcement-header {{ announcement.title }}
|
h2.announcement-header {{ announcement.title }}
|
||||||
p.announcement-description {{ announcement.excerpt }}
|
p.announcement-description(ng-bind-html="announcement.excerpt")
|
||||||
.announcement-meta
|
.announcement-meta
|
||||||
p.announcement-date {{ announcement.date | date:"longDate" }}
|
p.announcement-date {{ announcement.date | date:"longDate" }}
|
||||||
a.announcement-link(
|
a.announcement-link(
|
||||||
|
|
Loading…
Reference in a new issue