Development
This commit is contained in:
parent
66be049f14
commit
54a0bff14c
3 changed files with 5 additions and 11 deletions
|
|
@ -988,6 +988,8 @@ def build_table_cell(value, render_fn, col_class='', field='', row_idx=None,
|
|||
if render_fn == 'tag_list':
|
||||
opts = render_options or {}
|
||||
prefer_short = opts.get('prefer_short', False)
|
||||
if value.startswith('<'):
|
||||
return f'{td_open}{value}</td>'
|
||||
try:
|
||||
items = json.loads(value) if value.startswith('[') else [s.strip() for s in value.split(',')]
|
||||
except Exception:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue