Commit 6810c5df authored by chishah92's avatar chishah92 Committed by Renato Gonçalves H
Browse files

Issue #2921141 by chishah92, Ambient.Impact, RenatoG: Use a real ellpsis...

Issue #2921141 by chishah92, Ambient.Impact, RenatoG: Use a real ellpsis instead of three dots (...)
parent a51d5bf6
......@@ -591,7 +591,7 @@ function _link_sanitize(&$item, $delta, &$field, $instance, &$entity) {
);
}
if ($instance['settings']['display']['url_cutoff'] && strlen($display_url) > $instance['settings']['display']['url_cutoff']) {
$display_url = substr($display_url, 0, $instance['settings']['display']['url_cutoff']) . "...";
$display_url = substr($display_url, 0, $instance['settings']['display']['url_cutoff']) . "";
}
$item['display_url'] = $display_url;
......
Supports Markdown
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