]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/bugs/can__39__t_mix_template_vars_inside_directives.mdwn
pebak?
[git.ikiwiki.info.git] / doc / bugs / can__39__t_mix_template_vars_inside_directives.mdwn
index 0fa85effb05f4f715ae19160f03a1901a4a5ebbc..462852ef8c2f24bbd0356a87ef0ab628df4603c1 100644 (file)
@@ -31,3 +31,17 @@ The result, even with htmlscrubber disabled, is mangled, something like
     </div>
 
 Any suggestions gladly received. -- [[Jon]]
+
+> Well, you *should* be able to do things like this, and in my testing, I
+> *can*. I used your exact example above (removing the backslash escape)
+> and invoked it as:
+>      \[[!template id=test href=himom.png size=100x]]
+> 
+> And got just what you would expect.
+> 
+> I don't know what went wrong for you, but I don't see a bug here. 
+> My guess, at the moment, is that you didn't specify the required href
+> and size parameters when using the template. If I leave those off,
+> I of course reproduce what you reported, since the img directive gets
+> called with no filename, and so assumes the size parameter is the image
+> to display.. [[done]]? --[[Joey]]