entities are not links

This commit is contained in:
j 2015-04-16 20:02:31 +00:00
commit e851dcabfb
3 changed files with 7 additions and 3 deletions

View file

@ -244,7 +244,7 @@ class Annotation(models.Model):
try:
entity = self.get_entity()
j['entity'] = entity.json(user=user)
j['value'] = entity.html_link()
j['value'] = entity.annotation_value()
except:
j['entity'] = {}
elif l['type'] == 'event':