diff --git a/main/survey/preview.php b/main/survey/preview.php index 0f19df74c2..ca274e1c07 100755 --- a/main/survey/preview.php +++ b/main/survey/preview.php @@ -44,7 +44,7 @@ $interbreadcrumb[] = [ ]; $interbreadcrumb[] = [ 'url' => api_get_path(WEB_CODE_PATH).'survey/survey.php?survey_id='.$surveyId.'&'.api_get_cidreq(), - 'name' => strip_tags($survey_data['title']), + 'name' => strip_tags($survey_data['title'], ''), ]; $htmlHeadXtra[] = ''; diff --git a/main/survey/survey.php b/main/survey/survey.php index 3a00003bb5..99765c7f6d 100755 --- a/main/survey/survey.php +++ b/main/survey/survey.php @@ -69,7 +69,7 @@ if (!empty($_GET['survey_id'])) { api_not_allowed(true); } -$tool_name = strip_tags($survey_data['title']); +$tool_name = strip_tags($survey_data['title'], ''); $is_survey_type_1 = $survey_data['survey_type'] == 1; if (api_strlen(strip_tags($survey_data['title'])) > 40) {