mirror of
https://github.com/moodle/moodle.git
synced 2025-04-25 10:26:17 +02:00
MDL-76645 filter_data: fix link title attribute
This commit is contained in:
parent
0e3c8eb740
commit
1899e03973
@ -123,7 +123,7 @@ class filter_data extends moodle_text_filter {
|
||||
usort($contents, 'filter_data::sort_entries_by_length');
|
||||
|
||||
foreach ($contents as $content) {
|
||||
$href_tag_begin = '<a class="data autolink dataid'.$content->dataid.'" title="'.$content->content.'" '.
|
||||
$href_tag_begin = '<a class="data autolink dataid'.$content->dataid.'" title="'.s($content->content).'" '.
|
||||
'href="'.$CFG->wwwroot.'/mod/data/view.php?d='.$content->dataid.
|
||||
'&rid='.$content->recordid.'">';
|
||||
$contentlist[] = new filterobject($content->content, $href_tag_begin, '</a>', false, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user