fix tag display in oneliner()

main
Fabien C. Y. Benureau 3 years ago
parent 009cb808a4
commit fde2efc39a
No known key found for this signature in database
GPG Key ID: CE56629494581522

@ -78,7 +78,7 @@ def paper_oneliner(p, citekey_only=False, max_authors=3):
else 'NOEXT'), else 'NOEXT'),
'tag') 'tag')
tags = '' if len(p.tags) == 0 else '| {}'.format( tags = '' if len(p.tags) == 0 else '| {}'.format(
','.join(color.dye_out(t, 'tag') for t in sorted(p.tags))) ', '.join(color.dye_out(t, 'tag') for t in sorted(p.tags)))
return '[{citekey}] {descr}{doc} {tags}'.format( return '[{citekey}] {descr}{doc} {tags}'.format(
citekey=color.dye_out(p.citekey, 'citekey'), citekey=color.dye_out(p.citekey, 'citekey'),
descr=bibdesc, tags=tags, doc=doc_str) descr=bibdesc, tags=tags, doc=doc_str)

Loading…
Cancel
Save