Skip to content

Quote continuers#52

Merged
ddaspit merged 4 commits intomainfrom
quote_continuers
Feb 3, 2026
Merged

Quote continuers#52
ddaspit merged 4 commits intomainfrom
quote_continuers

Conversation

@benjaminking
Copy link
Collaborator

@benjaminking benjaminking commented Nov 26, 2025

This PR adds support for quote continuers into Lynx. Quote continuers are used when continuing a quote across multiple paragraphs. In English, the quote is not terminated at the end of the first paragraph, but a new opening quotation mark is used at the start of the second paragraph.

This also adds a new type of warning that can be produced for incorrectly formatted quote continuers, specifically when a first-level quote continuer is present, but a subsequent continuer is not, in a situation where nested quotes are being carried across multiple paragraphs. There is also a quick fix provided to correct this error.

This resolves #31


This change is Reviewable

@benjaminking benjaminking requested a review from ddaspit November 26, 2025 15:15
@changeset-bot
Copy link

changeset-bot bot commented Nov 26, 2025

🦋 Changeset detected

Latest commit: 6789475

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sillsdev/lynx-punctuation-checker Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@ddaspit ddaspit left a comment

Choose a reason for hiding this comment

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

:lgtm:

@ddaspit reviewed 20 of 20 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @benjaminking)

Copy link
Contributor

@ddaspit ddaspit left a comment

Choose a reason for hiding this comment

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

@benjaminking I forgot about this PR. I was trying to get it in, but it seems to be failing a unit test.

@ddaspit made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @benjaminking).

@benjaminking
Copy link
Collaborator Author

It looks like the delta document changes caused one of the test outputs to change. I've updated that test now.

Copy link
Contributor

@ddaspit ddaspit left a comment

Choose a reason for hiding this comment

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

@ddaspit reviewed 1 file and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @benjaminking).

@ddaspit ddaspit merged commit 886f708 into main Feb 3, 2026
2 checks passed
@ddaspit ddaspit deleted the quote_continuers branch February 3, 2026 16:03
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.

Continued quotation in new paragraph causes incorrectly nested quotation mark warning

2 participants