MDL-36918 Decode HTML entities on ajax update title
This commit is contained in:
committed by
Sam Hemelryk
parent
fa9b53cdf8
commit
e275e8c3cd
+1
-1
@@ -167,7 +167,7 @@ switch($requestmethod) {
|
||||
// We need to return strings after they've been through filters for multilang
|
||||
$stringoptions = new stdClass;
|
||||
$stringoptions->context = $coursecontext;
|
||||
echo json_encode(array('instancename' => format_string($module->name, true, $stringoptions)));
|
||||
echo json_encode(array('instancename' => html_entity_decode(format_string($module->name, true, $stringoptions))));
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user