fix: [url] display link in short_title to have it directly visible

pull/40/head
Christophe Vandeplas 2019-12-17 21:40:18 +01:00
parent f15d08aaa1
commit dd7c8e2460
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ def attribute_to_entity(a, link_label=None, event_tags=[], only_self=False):
# special cases
if a['type'] in ('url', 'uri'):
yield(URL(url=a['value'], link_label=link_label, notes=notes, bookmark=Bookmark.Green))
yield(URL(url=a['value'], short_title=a['value'], link_label=link_label, notes=notes, bookmark=Bookmark.Green))
return
# attribute is from an object, and a relation gives better understanding of the type of attribute