Commit 56aba1e3 authored by webchick's avatar webchick

Issue #2205159 by dineshw, mandar.harkare | scor: Typo in LinkFormatter.php.

parent 4e7ec019
......@@ -126,7 +126,7 @@ public function viewElements(FieldItemListInterface $items) {
// If the title field value is available, use it for the link text.
if (empty($settings['url_only']) && !empty($item->title)) {
// Unsanitizied token replacement here because $options['html'] is FALSE
// Unsanitized token replacement here because $options['html'] is FALSE
// by default in l().
$link_title = \Drupal::token()->replace($item->title, array($entity->getEntityTypeId() => $entity), array('sanitize' => FALSE, 'clear' => TRUE));
}
......
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