mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Split multiple authors on ','
This commit is contained in:
parent
58e817cb0f
commit
05d357e98e
3 changed files with 8 additions and 2 deletions
|
|
@ -361,7 +361,7 @@ class HTMLReaderTest(ReaderTest):
|
|||
self.assertEqual(value, page.metadata[key], key)
|
||||
|
||||
def test_article_with_multiple_authors(self):
|
||||
page = self.read_file(path='article_with_multiple_authors.rst')
|
||||
page = self.read_file(path='article_with_multiple_authors.html')
|
||||
expected = {
|
||||
'authors': ['First Author', 'Second Author']
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue