]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/Template_variable_not_passed_as-is__63____33__.mdwn
(no commit message)
[ikiwiki.git] / doc / bugs / Template_variable_not_passed_as-is__63____33__.mdwn
1 I have a part of a template that looks like:
2
3     <TMPL_VAR level> <TMPL_VAR string>
4
5 Calling the template with:
6
7 \[[!template id=templateid string="some string" level="##"]]
8
9 Results in:
10
11     <h1 id="z-">#</h1>
12
13     <p>some string</p>
14
15 While I expected:
16
17     <h2 id="some_string">some string</h2>
18
19 >> Have you tried TMPL_VAR raw_level, raw_string?  — [[Jon]]
20
21 > Thanks. I should read the docs more closely the next time.
22
23 [[not a bug|done]]