From 3f191631563e104b71e0523deaa5de62905607ab Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Fri, 22 Sep 2017 10:18:41 +0200 Subject: [PATCH] [fix] My account > parse HTML/hashtag in profile description --- www/plugins/es/js/services/wallet-services.js | 1 + www/plugins/es/templates/user/items_profile.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/www/plugins/es/js/services/wallet-services.js b/www/plugins/es/js/services/wallet-services.js index f9a201d52..c881c8360 100644 --- a/www/plugins/es/js/services/wallet-services.js +++ b/www/plugins/es/js/services/wallet-services.js @@ -85,6 +85,7 @@ angular.module('cesium.es.wallet.services', ['ngResource', 'cesium.platform', 'c data.name = profile.name; data.avatar = profile.avatar; data.profile = profile.source; + data.profile.description = profile.description; console.debug('[ES] [wallet] Loaded full user profile in '+ (new Date().getTime()-now) +'ms'); } deferred.resolve(); diff --git a/www/plugins/es/templates/user/items_profile.html b/www/plugins/es/templates/user/items_profile.html index e2d92ac32..7ed0ae5d7 100644 --- a/www/plugins/es/templates/user/items_profile.html +++ b/www/plugins/es/templates/user/items_profile.html @@ -10,7 +10,7 @@ <!-- About me --> <div class="item" ng-if="formData.profile.description"> <span class="gray" translate>PROFILE.DESCRIPTION</span> - <h3 class=" text-keep-lines" ng-bind-html="formData.description||formData.profile.description"></h3> + <h3 class=" text-keep-lines" ng-bind-html="formData.profile.description"></h3> </div> <!-- Localisation --> -- GitLab