Commit 2eb9ece
committed
chore: release v0.6.3 (image + link resolution fixes)
Issue #3 follow-up: the 0.6.1 SVG fix never ran for the reported document,
because the image loader rejected absolute paths (and relative paths escaping
the doc's directory) before reading a byte. Local images now load from any
readable path — display-only and safe, since the bytes must decode as an image
and only ever reach the screen as pixels; remote fetching stays opt-in.
- Fixed: absolute/out-of-tree, percent-encoded, and file:// image paths load;
the same policy applies to followed .md links
- Fixed: failed images state why ("image not found" / "cannot decode image")
instead of a bare placeholder indistinguishable from a rendering bug
- Added: linked images, image galleries, raw HTML <img>, data: URIs,
~/ expansion, ?raw=true / #fragment suffixes, EXIF orientation
- Added: resvg "raster-images" so <image> elements inside SVGs render
- Bump version 0.6.2 -> 0.6.3, refresh Cargo.lock, update CHANGELOG
Also ships the 0.6.2 panic fixes: 0.6.2 was bumped in-tree but never tagged,
so this is the first published build to carry them.1 parent 74dc59c commit 2eb9ece
9 files changed
Lines changed: 813 additions & 115 deletions
File tree
- src
- layout
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
3 | 26 | | |
4 | 27 | | |
5 | 28 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
738 | 736 | | |
739 | 737 | | |
740 | 738 | | |
| |||
847 | 845 | | |
848 | 846 | | |
849 | 847 | | |
850 | | - | |
| 848 | + | |
851 | 849 | | |
852 | 850 | | |
853 | 851 | | |
| |||
870 | 868 | | |
871 | 869 | | |
872 | 870 | | |
873 | | - | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
882 | | - | |
| 881 | + | |
883 | 882 | | |
884 | 883 | | |
885 | 884 | | |
| |||
0 commit comments