Commit a39cc61
committed
Fix notebook-view.url being ignored
When notebook-view.url is specified, notebook links should point to the
external URL instead of rendering a local preview. This was broken in
v1.4.156 (commit faba735) when the notebook system was refactored and external URL handling was accidentally removed.
The fix restores the check for descriptor?.url before falling back to
the local preview path in format-html-notebook-preview.ts.
Updated existing test to verify links contain the external URL.1 parent c9008d7 commit a39cc61
File tree
3 files changed
+3
-2
lines changed- news
- src/format/html
- tests/docs/smoke-all/2023/01/05
3 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments