]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn
properly encode and decode from/to utf8 when sending rpc to ikiwiki
[ikiwiki.git] / doc / bugs / images_in_inlined_pages_have_wrong_relative_URL.mdwn
1 I can make an image link, such as:
2
3     ![image](image.jpg)
4
5 That will render as ![image](image.jpg).
6
7 If I then inline that page, the (relative) URL no longer points to the right place.  The fix for this promises to be hairy.
8
9 > Similarly, if you insert a relative link using the markdown link syntax,
10 > it will tend to break when the page is inlined.
11
12 > However, there is a simple way to avoid both problems: Use WikiLinks
13 > and/or the [[img_directive|ikiwiki/directive/img]]. --[[Joey]]
14
15 > > For some inline HTML (e.g. SVG embedded with `<object>` tags, it
16 > > would be nice to have a URL directive for URL-only WikiLinks.
17 > > Something like:
18 > > `<object type="image/svg+xml" data="[[!url image.svg]]"></object>`.
19 > > This would be a more general solution than an [[SVG-specific
20 > > fix|todo/svg]]. --[[wtk]]
21
22 [[!tag done]]