(js) Fix contact's nickname when composing msg

The nickname is wrapped with <em> tags when viewing the card but those
tags must not appear when composing a new message from one of the
contact's email addresses.
This commit is contained in:
Francis Lachapelle committed 2016-05-25 11:33:25 -04:00
1 parent c9346e4f24
commit 9fc22f2689
3 files changed
+5 -5

No files matched your search

@@ -61,7 +61,7 @@
<!--list avatar-->
</div>
<div class="msg-header-content">
<h1 class="sg-md-display-2--thin" ng-bind-html="editor.card.$fullname()"><!-- fullname --></h1>
<h1 class="sg-md-display-2--thin" ng-bind-html="editor.card.$fullname({html: true})"><!-- fullname --></h1>
<h6 class="sg-md-display-2-subheader--thin">{{editor.card.$description()}}</h6>
<md-chips ng-model="editor.card.categories"
class="sg-readonly" readonly="true">