compact-header should be parse because it includes formatting

Bug: T139602
Change-Id: I3c9fd6cd6b5b805b7867de6ee2cb3555a5d0d123
This commit is contained in:
Stephane Bisson 2016-07-07 13:16:26 -04:00
parent 5022af0b22
commit ebd616d6f3

View file

@ -456,7 +456,7 @@ abstract class EchoEventPresentationModel implements JsonSerializable {
return array(
'header' => $this->getHeaderMessage()->parse(),
'compactHeader' => $this->getCompactHeaderMessage()->escaped(),
'compactHeader' => $this->getCompactHeaderMessage()->parse(),
'body' => $body ? $body->escaped() : '',
'icon' => $this->getIconType(),
'links' => array(