From 8e8b011c1a64cc15b08e0e61f1bb85eede1e3318 Mon Sep 17 00:00:00 2001 From: "http://jmtd.livejournal.com/" Date: Mon, 13 Sep 2010 19:37:50 +0000 Subject: [PATCH] mixing template vars into directive arguments --- ...t_mix_template_vars_inside_directives.mdwn | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 doc/bugs/can__39__t_mix_template_vars_inside_directives.mdwn 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 new file mode 100644 index 000000000..0fa85effb --- /dev/null +++ b/doc/bugs/can__39__t_mix_template_vars_inside_directives.mdwn @@ -0,0 +1,33 @@ +I often find myself wrapping the same boiler plate around [[ikiwiki/directives/img]] img directives, so I tried to encapsulate it using the following [[ikiwiki/directives/template]]: + + +
+ [\[!img + size="" + + + alt="" + + + alt="" + + alt="[pic]" + + + + ]] + +

+
+
+ +The result, even with htmlscrubber disabled, is mangled, something like + +
+ ?size + +
+ +Any suggestions gladly received. -- [[Jon]] -- 2.39.5