Skip to content

Commit

Permalink
[fonts] Fix download of fonts from google repository by encoding [ and ]
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn authored and github-actions[bot] committed Oct 21, 2024
1 parent cc04caf commit c98150f
Show file tree
Hide file tree
Showing 2 changed files with 356 additions and 356 deletions.
2 changes: 1 addition & 1 deletion scripts/process_google_fonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1585,7 +1585,7 @@

match = re.match(r'\s*filename: "(.*)"', line)
if match:
filenames.append(f'{github_path}/{match.group(1)}')
filenames.append(f'{github_path}/{match.group(1).replace("[", "%5B").replace("]", "%5D")}')

license_path = None
if not (p.parent / f'{license}.txt').exists():
Expand Down
Loading

0 comments on commit c98150f

Please sign in to comment.