diff --git a/core/modules/filter/filter.module b/core/modules/filter/filter.module index 9f289b8..86a6ef8 100644 --- a/core/modules/filter/filter.module +++ b/core/modules/filter/filter.module @@ -616,8 +616,8 @@ function _filter_url_parse_full_links($match) { $i = 1; $match[$i] = Html::decodeEntities($match[$i]); - $caption = SafeMarkup::checkPlain(_filter_url_trim($match[$i])); - $match[$i] = SafeMarkup::checkPlain($match[$i]); + $caption = Html::escape(_filter_url_trim($match[$i])); + $match[$i] = Html::escape($match[$i]); return '' . $caption . ''; }