From 935b86749d9a6ab20dac4c99a2f8fde52dc2bb60 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 27 Dec 2018 20:13:36 -0500 Subject: [PATCH] Unescape invite_desc template variable --- mod/dfrn_request.php | 5 +---- view/templates/register.tpl | 2 +- view/theme/frio/templates/register.tpl | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 15e11c3dab..9f0583711f 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -632,10 +632,7 @@ function dfrn_request_content(App $a) $page_desc = L10n::t("Please enter your 'Identity Address' from one of the following supported communications networks:"); - $invite_desc = sprintf( - L10n::t('If you are not yet a member of the free social web, follow this link to find a public Friendica site and join us today.'), - get_server() . '/servers' - ); + $invite_desc = L10n::t('If you are not yet a member of the free social web, follow this link to find a public Friendica site and join us today.', get_server() . '/servers'); $o = Renderer::replaceMacros($tpl, [ '$header' => L10n::t('Friend/Connection Request'), diff --git a/view/templates/register.tpl b/view/templates/register.tpl index b3a6a2c086..4da865d4cf 100644 --- a/view/templates/register.tpl +++ b/view/templates/register.tpl @@ -46,7 +46,7 @@ {{include file="field_password.tpl" field=$password2}} {{/if}} -

{{$nickdesc}}

+

{{$nickdesc nofilter}}

diff --git a/view/theme/frio/templates/register.tpl b/view/theme/frio/templates/register.tpl index 7436d0d38d..feb8035fa3 100644 --- a/view/theme/frio/templates/register.tpl +++ b/view/theme/frio/templates/register.tpl @@ -50,7 +50,7 @@
- {{$nickdesc}} + {{$nickdesc nofilter}}