Skip to content

Commit 67fea4b

Browse files
committed
.
1 parent 7dd1610 commit 67fea4b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Utilities/Html/HtmlHelper.Image.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,7 @@ public static async Task<byte[]> RenderHtmlToImageDataAsync(string html, string
187187
//see https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
188188
//Otherwise see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the (older) SUID sandbox.
189189
//If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
190-
//https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
191-
//https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md
190+
//Solution: https://github.com/hardkoded/puppeteer-sharp/issues/2593
192191
Args = ["--no-sandbox"]
193192
}))
194193
{
@@ -288,8 +287,7 @@ public static async Task RenderHtmlToPdfAsync(string html, string path, PdfOptio
288287
//see https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
289288
//Otherwise see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the (older) SUID sandbox.
290289
//If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
291-
//https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
292-
//https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md
290+
//Solution: https://github.com/hardkoded/puppeteer-sharp/issues/2593
293291
Args = ["--no-sandbox"]
294292
});
295293

0 commit comments

Comments
 (0)