From a28aad274d5f1f5ef3859bbef6f0c4b900a988a0 Mon Sep 17 00:00:00 2001 From: John Gruen Date: Thu, 7 Mar 2019 14:43:45 +0100 Subject: [PATCH] convert legal notice to html --- app/ui/legal.js | 105 ++++++++++++++++++------------ package-lock.json | 161 ++++++++++++++++++++++++---------------------- 2 files changed, 150 insertions(+), 116 deletions(-) diff --git a/app/ui/legal.js b/app/ui/legal.js index 1924eee2..ce4fe8b2 100644 --- a/app/ui/legal.js +++ b/app/ui/legal.js @@ -1,5 +1,4 @@ const html = require('choo/html'); -const raw = require('choo/html/raw'); const modal = require('./modal'); module.exports = function(state, emit) { @@ -11,53 +10,88 @@ module.exports = function(state, emit) { >

${state.translate('legalTitle')}

${state.translate('legalDateStamp')}

-
- ${raw( - replaceLinks(state.translate('legalNoticeSend'), [ - 'https://www.mozilla.org/privacy/', - 'https://github.com/mozilla/send/blob/master/docs/metrics.md' - ]) - )} -