Skip to content

Comments

Fix LT-21845: Find/Replace in Texts doesn't honor match WS initially#682

Merged
jtmaxwell3 merged 2 commits intomainfrom
LT-21845
Feb 20, 2026
Merged

Fix LT-21845: Find/Replace in Texts doesn't honor match WS initially#682
jtmaxwell3 merged 2 commits intomainfrom
LT-21845

Conversation

@jtmaxwell3
Copy link
Collaborator

@jtmaxwell3 jtmaxwell3 commented Feb 18, 2026

This fixes https://jira.sil.org/browse/LT-21845.


This change is Reviewable

Copy link
Contributor

@mark-sil mark-sil left a comment

Choose a reason for hiding this comment

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

@mark-sil reviewed 1 file and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on jtmaxwell3).

@github-actions
Copy link

github-actions bot commented Feb 20, 2026

NUnit Tests

    1 files  ±0      1 suites  ±0   5m 53s ⏱️ -8s
4 407 tests ±0  4 320 ✅ ±0  87 💤 ±0  0 ❌ ±0 
4 416 runs  ±0  4 329 ✅ ±0  87 💤 ±0  0 ❌ ±0 

Results for commit 00645f6. ± Comparison against base commit 0bde379.

♻️ This comment has been updated with latest results.

All 31 Src/*/AGENTS.md files have a UTF-8 BOM (0xEF 0xBB 0xBF).
The parse_frontmatter functions in four .github/*.py scripts read
with encoding="utf-8", which preserves the BOM as a U+FEFF prefix
on line 0, causing the "---" delimiter check to fail. This made
every impacted folder report "frontmatter missing" in CI.

Fix: switch file reads to utf-8-sig (strips BOM automatically) and
add explicit BOM stripping in text-based parsers as defense in depth.

Also update Src/FwCoreDlgs/AGENTS.md last-reviewed-tree hash to
match the current code on this branch.
@johnml1135
Copy link
Contributor

This PR now also addresses LT-22421 - fixing the AGENTS CI check for different line endings and BOM's.

Copy link
Contributor

@jasonleenaylor jasonleenaylor left a comment

Choose a reason for hiding this comment

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

:lgtm:

@jasonleenaylor reviewed 6 files and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on jtmaxwell3).

@jtmaxwell3 jtmaxwell3 merged commit 2ddc69b into main Feb 20, 2026
10 checks passed
@jtmaxwell3 jtmaxwell3 deleted the LT-21845 branch February 20, 2026 19:29
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.

4 participants