A fork of https://github.com/crosspoint-reader/crosspoint-reader
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: Correct multiple author display (#856)

## Summary

* If an EPUB has:
```
<dc:creator>J.R.R. Tolkien</dc:creator>
<dc:creator>Christopher Tolkien</dc:creator>
```
the current result for epub.author would provide : "J.R.R.
TolkienChristopher Tolkien" (no separator!)
* The fix will seperate multiple authors: "J.R.R. Tolkien, Christopher
Tolkien"

## Additional Context

* Simple fix in ContentOpfParser - I am not seeing any dependence on the
wrong concatenated result.

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? NO

authored by

jpirnay and committed by
GitHub
22b77edd 2e673c75

+3
+3
lib/Epub/Epub/parsers/ContentOpfParser.cpp
··· 327 327 } 328 328 329 329 if (self->state == IN_BOOK_AUTHOR) { 330 + if (!self->author.empty()) { 331 + self->author.append(", "); // Add separator for multiple authors 332 + } 330 333 self->author.append(s, len); 331 334 return; 332 335 }