Commit 2c8db23
committed
Save temp file next to notebook for WebPDF export
By putting the HTML file in the same location as the notebook, any
relative file paths correctly resolve. This change saves us from needing
to convert relative paths to absolute.
This slightly changes behavior by creating the temp file in the user's
working directory. We already make sure we delete this temp file, and by
adding the ".webpdf-" prefix to make it hidden, less-technical users
should never see this file at all.1 parent 216550b commit 2c8db23
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
| 162 | + | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
177 | 178 | | |
178 | 179 | | |
179 | | - | |
| 180 | + | |
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
| |||
0 commit comments