Chromium Code Reviews| Index: chrome/browser/resources/settings/about_page/about_page.js |
| diff --git a/chrome/browser/resources/settings/about_page/about_page.js b/chrome/browser/resources/settings/about_page/about_page.js |
| index 07d8eaa857006e28409964ad66182ee06d85ae13..946ae37bdcc9a57ce456a667c6d177103ceb45a2 100644 |
| --- a/chrome/browser/resources/settings/about_page/about_page.js |
| +++ b/chrome/browser/resources/settings/about_page/about_page.js |
| @@ -176,7 +176,10 @@ Polymer({ |
| </if> |
| return this.i18n('aboutUpgradeUpdating'); |
| default: |
| - return this.currentUpdateStatusEvent_.message || ''; |
| + return this.currentUpdateStatusEvent_.message ? |
| + parseHtmlSubset( |
| + this.currentUpdateStatusEvent_.message).firstChild.outerHTML : |
|
Dan Beam
2016/08/05 23:45:28
nit:
var message = this.currentUpdateStatusEvent_
Dan Beam
2016/08/05 23:47:50
wait, doesn't this only work if it starts with 1 (
Dan Beam
2016/08/05 23:49:30
I think parseHtmlSubset('<b>' + text + '</b>').fir
dpapad
2016/08/06 00:00:14
Good catch. Done.
|
| + ''; |
| } |
| }, |