Commit 5e63a990 authored by catch's avatar catch

Issue #2568611 by alexpott: Replace remaining !placeholder for Non-URL HTML...

Issue #2568611 by alexpott: Replace remaining !placeholder for Non-URL HTML outputs only in search_excerpt()
parent d30d5764
......@@ -776,7 +776,7 @@ function search_excerpt($keys, $text, $langcode = NULL) {
// Combine the text chunks with "…" separators. The "…" needs to be
// translated. Let translators have the … separator text as one chunk.
$ellipses = explode('!excerpt', t('… !excerpt … !excerpt …'));
$ellipses = explode('@excerpt', t('… @excerpt … @excerpt …'));
$text = (isset($new_ranges[0]) ? '' : $ellipses[0]) . implode($ellipses[1], $out) . (($max_end < strlen($text) - 1) ? $ellipses[2] : '');
$text = Html::escape($text);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment