Repository navigation
fix(yunxiao): recognize legacy GitHub source sections - #772
Merged
syzsunshine219 merged 1 commit intoOct 28, 2026
Merged
syzsunshine219 merged 1 commit into
syzsunshine219 merged 1 commit into
Conversation
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.
Two historical cards use a leading legacy source section (
来源:GitHub Issue #394or来源:GitHub PR #395) followed by the original GitHub URL, rather than the currentGitHub:line. The title-cleanup preview correctly validated 199 cards but rejected these two.Recognize this anchored legacy source section, including rich-text BOM whitespace and paragraph breaks. The header type and number must agree with the immediately following GitHub URL, and the existing repository check remains in place. Links quoted later in the body, mismatched identifiers, foreign domains, and URL fragments are rejected. Card descriptions and the subject-only update payload remain unchanged.
Validation: all 31 Python tests and selected repository checks passed. The legacy regressions failed before the fix. Both real source-header formats were verified in the Yunxiao card details before implementing the compatibility path.