]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Propose a URL directive for robust relative URLs
authorW. Trevor King <wking@tremily.us>
Sat, 13 Jul 2013 15:33:54 +0000 (11:33 -0400)
committerW. Trevor King <wking@tremily.us>
Sat, 13 Jul 2013 15:33:54 +0000 (11:33 -0400)
doc/bugs/images_in_inlined_pages_have_wrong_relative_URL.mdwn

index 8cda7a70fc89f65f0985c280153ce2bac05801f8..e73c7e662b19cb8db59261323f65a770402fe492 100644 (file)
@@ -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]]
 
 > 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]]
 [[!tag done]]