Skip to content

Commit

Permalink
Display HTML content in p-message
Browse files Browse the repository at this point in the history
Similar to primefaces#840 which added it to p-messages
  • Loading branch information
c17r committed Nov 8, 2018
1 parent 6307201 commit 92ebd7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/message/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {CommonModule} from '@angular/common';
'ui-message-error': (severity === 'error'),
'ui-message-success': (severity === 'success')}">
<span class="ui-message-icon" [ngClass]="icon"></span>
<span class="ui-message-text">{{text}}</span>
<span class="ui-message-text" [innerHTML]="text"></span>
</div>
`
})
Expand Down

0 comments on commit 92ebd7d

Please sign in to comment.