Commit 1945fcf
fix(page-card): apply UrlPathPrefix to resolved URLs
Page-card links were generating site-root-relative hrefs (e.g. /cli/stack/es)
without the deployment path prefix, causing 404s in preview environments where
the site is hosted under a subpath (e.g. /elastic/cli/pull/406/cli/stack/es).
Apply the same UrlPathPrefix logic used by DiagnosticLinkInlineParser.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c434430 commit 1945fcf
1 file changed
Lines changed: 5 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
| |||
0 commit comments