From ca0b131542ced3807cdc43cbf216f27cbfdfb82d Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Fri, 26 Nov 2021 18:40:43 +0100 Subject: [PATCH] fix html formatting --- modules/ui/splash.js | 10 +++++----- modules/ui/success.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/ui/splash.js b/modules/ui/splash.js index 4a4988803..0207fd06d 100644 --- a/modules/ui/splash.js +++ b/modules/ui/splash.js @@ -42,7 +42,7 @@ export function uiSplash(context) { .append('div') .attr('class','modal-section') .append('h3') - .html(t.html('splash.welcome')); + .call(t.html('splash.welcome')); let modalSection = introModal .append('div') @@ -52,16 +52,16 @@ export function uiSplash(context) { .append('p') .html(t.html('splash.text', { version: context.version, - website: 'changelog', - github: 'github.com' + website: { html: 'changelog' }, + github: { html: 'github.com' } })); modalSection .append('p') .html(t.html('splash.privacy', { updateMessage: updateMessage, - privacyLink: '' + - t('splash.privacy_policy') + '' + privacyLink: { html: '' + + t('splash.privacy_policy') + '' } })); let buttonWrap = introModal diff --git a/modules/ui/success.js b/modules/ui/success.js index 568b55f47..e00569905 100644 --- a/modules/ui/success.js +++ b/modules/ui/success.js @@ -151,7 +151,7 @@ export function uiSuccess(context) { summaryDetail .append('div') .html(t.html('success.changeset_id', { - changeset_id: `${_changeset.id}` + changeset_id: { html: `${_changeset.id}` } }));