Fixes encode problem see BT#9288

1.9.x
Julio Montoya 10 years ago
parent aad4a57b0c
commit 87d1a21af7
  1. 3
      main/gradebook/lib/be/surveylink.class.php

@ -266,6 +266,7 @@ class SurveyLink extends AbstractLink
private static function html_to_text($string)
{
return trim(api_html_entity_decode(strip_tags(str_ireplace(array('<p>', '</p>', '<br />', '<br/>', '<br>'), array('', ' ', ' ', ' ', ' '), $string)), ENT_QUOTES));
return strip_tags($string);
//return trim(api_html_entity_decode(strip_tags(str_ireplace(array('<p>', '</p>', '<br />', '<br/>', '<br>'), array('', ' ', ' ', ' ', ' '), $string)), ENT_QUOTES));
}
}

Loading…
Cancel
Save