Skip to content

AO3-7124 Fix chapter numbering in PDF downloads for chapters with custom titles#5387

Merged
brianjaustin merged 1 commit intootwcode:masterfrom
Yanpei-Wang:master
Oct 11, 2025
Merged

AO3-7124 Fix chapter numbering in PDF downloads for chapters with custom titles#5387
brianjaustin merged 1 commit intootwcode:masterfrom
Yanpei-Wang:master

Conversation

@Yanpei-Wang
Copy link
Copy Markdown
Contributor

Issue

https://otwarchive.atlassian.net/browse/AO3-7124

Purpose

This PR fixes the issue where chapter titles in PDF downloads do not include the chapter number if the chapter has a custom title. Now, PDF downloads will match the site’s display of chapter titles.

Credit

Yanpei Wang

@Yanpei-Wang
Copy link
Copy Markdown
Contributor Author

Yanpei-Wang commented Oct 3, 2025

Supersedes #5377. Had a little branch mix-up before, so here's a clean PR with everything included.

Copy link
Copy Markdown
Contributor

@Bilka2 Bilka2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I'm approving this because it's fine to merge as is, but if you want it would be nice to fix the indentation.

@brianjaustin brianjaustin merged commit d60b7fd into otwcode:master Oct 11, 2025
29 checks passed
Cubostar pushed a commit to Cubostar/otwarchive that referenced this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants