Skip to content

Commit

Permalink
Show new line in Zotero field
Browse files Browse the repository at this point in the history
  • Loading branch information
gythaogg committed May 15, 2024
1 parent 79a0905 commit 1565d3c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions apis_ontology/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
from django_tables2.utils import A

from .models import Instance, Person, Place, TibScholRelationMixin, Work
from .templatetags.filter_utils import render_coordinate, render_links
from .templatetags.filter_utils import (
render_coordinate,
render_links,
render_list_field,
)
from .templatetags.parse_comment import parse_comment

import django_tables2 as tables
Expand Down Expand Up @@ -118,7 +122,7 @@ def render_support_notes(self, value):
return mark_safe(parse_comment(value))

def render_zotero_refs(self, value):
return mark_safe(parse_comment(value))
return mark_safe(parse_comment(render_list_field(value)))

def render_obj(self, record):
# return str(record) + str(self.context["object"].pk)
Expand Down

0 comments on commit 1565d3c

Please sign in to comment.