mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #1268 from bandb42/multiple_authors_fix
Split multiple authors on ',' instead of every character
This commit is contained in:
commit
16b288222d
3 changed files with 8 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ METADATA_PROCESSORS = {
|
|||
'status': lambda x, y: x.strip(),
|
||||
'category': Category,
|
||||
'author': Author,
|
||||
'authors': lambda x, y: [Author(author, y) for author in x],
|
||||
'authors': lambda x, y: [Author(author.strip(), y) for author in x.split(',')],
|
||||
}
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue