From 517784a79d2fa4007567e09a95d05945756d79fa Mon Sep 17 00:00:00 2001 From: patdunlavey Date: Mon, 16 Jul 2012 10:00:56 +0200 Subject: [PATCH] Issue #1557926 by ditcheva, pdcarto: Added CSS class to read-more link on trimmed text field. --- handlers/views_handler_field.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/views_handler_field.inc b/handlers/views_handler_field.inc index 5cd82d8be5ee..428e3b97bdf8 100644 --- a/handlers/views_handler_field.inc +++ b/handlers/views_handler_field.inc @@ -1231,7 +1231,7 @@ If you would like to have the characters \'[\' and \']\' please use the html ent $more_link_path = drupal_substr($more_link_path, drupal_strlen($base_path)); } - $more_link = l($more_link_text, $more_link_path); + $more_link = l($more_link_text, $more_link_path, array('attributes' => array('class' => array('views-more-link')))); $suffix .= " " . $more_link; }