Explorar o código

Use HTML binding in the excerpt.

Paulo Reis %!s(int64=10) %!d(string=hai) anos
pai
achega
42bd1852c6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/web/app/views/project/list.jade

+ 1 - 1
services/web/app/views/project/list.jade

@@ -45,7 +45,7 @@ block content
 							ng-repeat="announcement in announcements | filter:(ui.newItems ? { read: false } : '') track by announcement.id"
 						)
 							h2.announcement-header {{ announcement.title }}
-							p.announcement-description {{ announcement.excerpt }}
+							p.announcement-description(ng-bind-html="announcement.excerpt")
 							.announcement-meta
 								p.announcement-date {{ announcement.date | date:"longDate" }}
 								a.announcement-link(