diff options
author | Joey Hess <joey@kitenet.net> | 2010-09-25 15:20:41 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-09-25 15:20:41 -0400 |
commit | 5d201da7188e39787fe08485113300d8e590ba58 (patch) | |
tree | c78afc3d6029d0883440c9681254c5ea2e8b82ea /doc | |
parent | 81d0871dd90166cfd41767b4dc3cfc2cb91c69c2 (diff) | |
download | ikiwiki-5d201da7188e39787fe08485113300d8e590ba58.tar ikiwiki-5d201da7188e39787fe08485113300d8e590ba58.tar.gz |
pebak?
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/can__39__t_mix_template_vars_inside_directives.mdwn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/bugs/can__39__t_mix_template_vars_inside_directives.mdwn b/doc/bugs/can__39__t_mix_template_vars_inside_directives.mdwn index 0fa85effb..462852ef8 100644 --- a/doc/bugs/can__39__t_mix_template_vars_inside_directives.mdwn +++ b/doc/bugs/can__39__t_mix_template_vars_inside_directives.mdwn @@ -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]] |