diff --git a/link.module b/link.module old mode 100644 new mode 100755 index e17c26f..2197457 --- a/link.module +++ b/link.module @@ -1049,7 +1049,10 @@ function theme_link_formatter_link_domain($vars) { * Formats a link's title as plain text. */ function theme_link_formatter_link_title_plain($vars) { - return empty($vars['element']['title']) ? '' : check_plain($vars['element']['title']); + $link_options = $vars['element']; + $title = empty($vars['element']['title']) ? '' : $vars['element']['title']; + $title = $link_options['html'] ? $title : check_plain($title); + return $title; } /**