Skip to content

Commit f8d03d4

Browse files
committed
lower windows limit
1 parent 9d1a69c commit f8d03d4

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/resources/filters/quarto-post/pdf-images.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ local resolvedUrls = {}
2929
local windows_safe_filename = function(filename)
3030
-- pull the first 200 characters without the extension
3131
local stem, ext = pandoc.path.split_extension(filename)
32-
local safeStem = stem:sub(1, 200)
32+
local safeStem = stem:sub(1, 20)
3333

3434
local result = safeStem .. ext
3535

tests/docs/smoke-all/2023/01/17/online-image-mediabag.qmd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@ _quarto:
1919

2020
It is important that the path end with `.jpeg`, otherwise the default extension will be appended to the path _before_ it is downloaded and used post download. In the case of PDFs, the default extension is `pdf`.
2121

22-
<!--
2322
![Great Pyramid](https://sat02pap004files.storage.live.com/y4m52ot143vPFNPo0C4wwvFwbWGJz9PYvIxAv3aPcZV9KHpimnZ2ErrEafT22gFuFM3lP-nJYiGpwzfq1wJ2X-kPIroYIPqhzYm01Hx6B4x40cPkesS9FVXJvFfkj9mtdBGFOhl1WVJd0xushOybTa9GTYsn-tKZCn7T0IAHSplCK-VBGhncjA-D09aJ-fJ8Ldq?width=256&height=192&cropmode=none&foobar=.jpeg)
24-
-->

0 commit comments

Comments
 (0)