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 replace-bug when trying to access local font css file #3111

Merged
merged 3 commits into from
May 6, 2024

Conversation

imnasnainaec
Copy link
Collaborator

@imnasnainaec imnasnainaec commented May 3, 2024

If a css file was stored locally for a font with more than one space (e.g., NotoSansGreek.css for Noto Sans Greek), the bug is that The Combine will look for the file with only the first space removed (e.g., NotoSans Greek.css). This pr makes sure all spaces are removed, not just the first one.


This change is Reviewable

@imnasnainaec imnasnainaec added bug Something isn't working frontend font/language Size: S Small sized issue labels May 3, 2024
@imnasnainaec imnasnainaec self-assigned this May 3, 2024
Copy link

codecov bot commented May 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.03%. Comparing base (b378db8) to head (4926a23).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3111      +/-   ##
==========================================
+ Coverage   75.01%   84.03%   +9.01%     
==========================================
  Files         271       47     -224     
  Lines       10412     4967    -5445     
  Branches     1231      587     -644     
==========================================
- Hits         7811     4174    -3637     
+ Misses       2239      647    -1592     
+ Partials      362      146     -216     
Flag Coverage Δ
backend 84.03% <ø> (ø)
frontend ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@jmgrady jmgrady left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @imnasnainaec)

Copy link
Collaborator

@jmgrady jmgrady left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @imnasnainaec)

@jmgrady jmgrady enabled auto-merge (squash) May 6, 2024 12:26
@jmgrady jmgrady merged commit 4e459a5 into master May 6, 2024
18 checks passed
@jmgrady jmgrady deleted the font-css-replace-all branch May 6, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working font/language frontend Size: S Small sized issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants