Details
Description
Tex filter of latest moodle 2.0 seems to be broken.
Line 96 in filter/tex/filter.php and function string_file_picture_tex should probably use $anchorcontents as
$output .= $OUTPUT->action_link($link, $anchorcontents, $action, array('title'=>'TeX'));
instead of current $anchortagcontents in
$output .= $OUTPUT->action_link($link, $anchortagcontents, $action, array('title'=>'TeX'));
and line 40 might need global $OUTPUT:
global $CFG, $OUTPUT;
to render tex.
Attachments
Issue Links
- has been marked as being related by
-
MDL-24071 TeX filter causing PHP warnings with call to rawurlencode()
-
- Closed
-
-
CONTRIB-3422 Hotpot fatal error
-
- Closed
-