mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-22 15:21:04 +00:00
fix: escape backslashes in ImageMagick font path parameter (#3708)
This commit is contained in:
parent
d84f0b1265
commit
16aa3cd0fc
2 changed files with 5 additions and 3 deletions
|
|
@ -40,9 +40,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/):
|
|||
|
||||
### Fixed
|
||||
|
||||
- Archive extraction fails for target paths with non-ASCII characters on Windows ([#3607])
|
||||
- Make `ya pkg` ignore default remote name in user Git config ([#3648])
|
||||
- Chafa v1.18.1 causes random ghost keypresses when previewing images ([#3678])
|
||||
- Make `ya pkg` ignore default remote name in user Git config ([#3648])
|
||||
- Archive extraction fails for target paths with non-ASCII characters on Windows ([#3607])
|
||||
- Escape backslashes in ImageMagick font path parameter ([#3708])
|
||||
|
||||
### Improved
|
||||
|
||||
|
|
@ -1666,3 +1667,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/):
|
|||
[#3687]: https://github.com/sxyazi/yazi/pull/3687
|
||||
[#3689]: https://github.com/sxyazi/yazi/pull/3689
|
||||
[#3696]: https://github.com/sxyazi/yazi/pull/3696
|
||||
[#3708]: https://github.com/sxyazi/yazi/pull/3708
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ function M:preload(job)
|
|||
"-gravity",
|
||||
"center",
|
||||
"-font",
|
||||
tostring(job.file.path),
|
||||
tostring(job.file.path):gsub("\\", "\\\\"),
|
||||
"-pointsize",
|
||||
64,
|
||||
"xc:white",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue