X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9ae8774540d151e631df319e0b275392430be658..1d3b2674c87c9cac395228dac9b60c751d4e06a1:/doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn diff --git a/doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn b/doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn index 81cc93fb1..e73c7e662 100644 --- a/doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn +++ b/doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn @@ -5,3 +5,18 @@ I can make an image link, such as: That will render as ![image](image.jpg). If I then inline that page, the (relative) URL no longer points to the right place. The fix for this promises to be hairy. + +> Similarly, if you insert a relative link using the markdown link syntax, +> it will tend to break when the page is inlined. +> +> However, there is a simple way to avoid both problems: Use WikiLinks +> and/or the [[img_directive|ikiwiki/directive/img]]. --[[Joey]] + +> > For some inline HTML (e.g. SVG embedded with `` tags, it +> > would be nice to have a URL directive for URL-only WikiLinks. +> > Something like: +> > ``. +> > This would be a more general solution than an [[SVG-specific +> > fix|todo/svg]]. --[[wtk]] + +[[!tag done]]