Repository navigation
fix: latin-spacing does not count a source line with a URL and an access date - #2989
Merged
Merged
Conversation
…ess date Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
latin-spacing counted the space in a footnote's source line (an issuing body and a meeting's name, then the title, the URL and an access date in brackets) as the writer's spacing between Japanese and Latin letters. The rule already leaves out a bibliographic entry line in the SIST form; a source line is the same kind of record, whose spaces separate its fields.
A line now also reads as a cited entry when it holds a URL and a bracketed access date: a bracket with a numeral whose content starts or ends with a word of the
access-date-labellexicon (参照, 閲覧, アクセス).Closes #2970
Items to Confirm / Review
access-date-labelis added to the rule'sextra_word_lists; the not_flagged text names the new case in both languages.Approach
isCitedEntryLine(line, accessLabels)inlatin-spacing-source.ts;orthography.tspasses the lexicon.yarn corpusandyarn plantedunchanged.🤖 Generated with Claude Code
work in lab