entity_helper.rb revision 64ee02553e8d41243c9d255192fde605827f34c3
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd string = content_tag(:span, entity.name, :class => 'entity_highlight')
43e2c3ca329ff3ca8cb7613d455ddb3794edf7adnd h(entity.text).gsub(/\b#{entity.name}\b/, string).html_safe
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd content_tag :span, string, :'data-original-title' => entity.iri, :class => 'entity_tooltip'