From fb478474655c19a0b549c3d65fbb5d09c11a2b12 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 9 Sep 2024 21:41:51 +0200 Subject: [PATCH] Fix escape --- htdocs/public/project/suggestbooth.php | 2 +- htdocs/public/project/suggestconference.php | 2 +- htdocs/public/project/viewandvote.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/public/project/suggestbooth.php b/htdocs/public/project/suggestbooth.php index d5abd931716..7c97b2ed1b3 100644 --- a/htdocs/public/project/suggestbooth.php +++ b/htdocs/public/project/suggestbooth.php @@ -600,7 +600,7 @@ if ($project->location) { print ''.dol_escape_htmltag($project->location).'
'; } if ($project->note_public) { - print '
'.dol_htmlentitiesbr($project->note_public).'
'; + print '
'.dol_htmlentitiesbr($project->note_public).'
'; } print ''; diff --git a/htdocs/public/project/suggestconference.php b/htdocs/public/project/suggestconference.php index 063c0508d20..6e9dbd78d02 100644 --- a/htdocs/public/project/suggestconference.php +++ b/htdocs/public/project/suggestconference.php @@ -536,7 +536,7 @@ if ($project->location) { print ''.dol_escape_htmltag($project->location).'
'; } if ($project->note_public) { - print '
'.dol_htmlentitiesbr($project->note_public).'
'; + print '
'.dol_htmlentitiesbr($project->note_public).'
'; } print ''; diff --git a/htdocs/public/project/viewandvote.php b/htdocs/public/project/viewandvote.php index 7c088fa7249..50dec036e9a 100644 --- a/htdocs/public/project/viewandvote.php +++ b/htdocs/public/project/viewandvote.php @@ -274,8 +274,8 @@ if (getDolGlobalString('PROJECT_IMAGE_PUBLIC_SUGGEST_BOOTH')) { print ''."\n"; $text = ''."\n"; -$text .= ''."\n"; -$text .= ''."\n"; +$text .= ''."\n"; +$text .= ''."\n"; print $text; print '

'.$langs->trans("EvntOrgRegistrationWelcomeMessage").'
'.$langs->trans("EvntOrgVoteHelpMessage").' : "'.$project->title.'".

'.$project->note_public.'
'.$langs->trans("EvntOrgVoteHelpMessage").' : "'.dol_escape_htmltag($project->title).'".

'.dol_htmlentitiesbr($project->note_public).'
'."\n";