Browse Source

Fixes encode problem see BT#9288

Julio Montoya 10 years ago
parent
commit
87d1a21af7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      main/gradebook/lib/be/surveylink.class.php

+ 2 - 1
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));
 	}
 }