Commit 7d11c9d
committed
Enable piping html to browser without scripts.
Many browsers (including chromium) require that files end in the '.html'
extension in order to render them.
See <https://bugs.chromium.org/p/chromium/issues/detail?id=777737>.
When using `pipeto --format=mimepart --as_file`, on an html mime part, let's
automatically set the file extension.
This eliminates the need for additional user scripts referenced in
issues such as #789 and #1153.1 parent 57adcb4 commit 7d11c9d
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
772 | | - | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
773 | 775 | | |
774 | 776 | | |
775 | 777 | | |
| |||
0 commit comments