diff options
author | W. Trevor King <wking@tremily.us> | 2013-07-13 11:33:54 -0400 |
---|---|---|
committer | W. Trevor King <wking@tremily.us> | 2013-07-13 11:33:54 -0400 |
commit | f5278f94b9ea9c9b990fc4658fcd9a919598f1c7 (patch) | |
tree | 652ba8f43fc64460561f2226d434b888f7bc8e57 | |
parent | 968a7ca39e2435ebf08013b9da77f54295b71e36 (diff) | |
download | ikiwiki-f5278f94b9ea9c9b990fc4658fcd9a919598f1c7.tar ikiwiki-f5278f94b9ea9c9b990fc4658fcd9a919598f1c7.tar.gz |
Propose a URL directive for robust relative URLs
-rw-r--r-- | doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn | 7 |
1 files changed, 7 insertions, 0 deletions
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 8cda7a70f..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 @@ -12,4 +12,11 @@ If I then inline that page, the (relative) URL no longer points to the right pla > 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 `<object>` tags, it +> > would be nice to have a URL directive for URL-only WikiLinks. +> > Something like: +> > `<object type="image/svg+xml" data="[[!url image.svg]]"></object>`. +> > This would be a more general solution than an [[SVG-specific +> > fix|todo/svg]]. --[[wtk]] + [[!tag done]] |