Commit 2b8d760
fix: pass WebRootPath to Scryber ParseDocument for relative image path resolution
When ParseDocument was called without a base path, Scryber could not
resolve relative image paths (e.g. ./assets/image.test.png) because
LoadedSource was empty. Use the overload that accepts a path parameter
so Scryber's ReferenceChecker can resolve paths relative to wwwroot.
Agent-Logs-Url: https://github.com/grandnode/grandnode2/sessions/5d2dbad8-02eb-4e9a-90c8-63cd785b237d
Co-authored-by: KrzysztofPajak <16772986+KrzysztofPajak@users.noreply.github.com>1 parent 9b9f843 commit 2b8d760
1 file changed
Lines changed: 4 additions & 2 deletions
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
0 commit comments