ikiwiki/doc/bugs/Template_variable_not_passe...

24 lines
444 B
Plaintext
Raw Normal View History

2011-08-07 02:10:00 +02:00
I have a part of a template that looks like:
<TMPL_VAR level> <TMPL_VAR string>
Calling the template with:
\[[!template id=templateid string="some string" level="##"]]
Results in:
<h1 id="z-">#</h1>
<p>some string</p>
While I expected:
<h2 id="some_string">some string</h2>
2011-08-08 11:45:24 +02:00
>> Have you tried TMPL_VAR raw_level, raw_string? — [[Jon]]
> Thanks. I should read the docs more closely the next time.
2011-08-08 23:48:21 +02:00
[[not a bug|done]]