From 1899e0397350c4c2bb3e73773981f66f16f8f2fc Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 5 Mar 2023 11:59:00 +0100 Subject: [PATCH] MDL-76645 filter_data: fix link title attribute --- filter/data/filter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter/data/filter.php b/filter/data/filter.php index 4eabac05c3647..86bf031c5ff7f 100644 --- a/filter/data/filter.php +++ b/filter/data/filter.php @@ -123,7 +123,7 @@ public function filter($text, array $options = array()) { usort($contents, 'filter_data::sort_entries_by_length'); foreach ($contents as $content) { - $href_tag_begin = '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, '', false, true);