Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix affixes with layout tag #177

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

skissue
Copy link

@skissue skissue commented Jun 4, 2024

Fixes both prefixes and suffixes on the <layout> tag, which were not added before. I'm not sure if this is the correct way to implement this, I only took a cursory look through the code, but a quick test showed that it worked for the Chicago Manual of Style file.

Before:

Ungard-Sargon, Batya. “She Swoons to Conquer.” Edited by Pam Weintraub. Aeon (blog), September 25, 2015. https://aeon.co/essays/can-you-enjoy-romance-fiction-and-be-a-feminist

After:

Ungard-Sargon, Batya. “She Swoons to Conquer.” Edited by Pam Weintraub. Aeon (blog), September 25, 2015. https://aeon.co/essays/can-you-enjoy-romance-fiction-and-be-a-feminist.

Possibly addresses #107

@skissue skissue marked this pull request as draft June 5, 2024 13:05
@skissue
Copy link
Author

skissue commented Jun 5, 2024

After some more experimentation, this PR (unsurprisingly) seems to break more than it fixes. Will take a deeper look at the code.

@ironupiwada
Copy link

I think the issue (of course, provisionarily) can be resolved when editing Chicago CSL, provided that suffix="." does appear in <group> within <layout> rather than in <layout> itself. #107 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants