aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Template_variable_not_passed_as-is__63____33__.mdwn
blob: d70dff41851b4339589aba788da7b8c39c6b06b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>

>> Have you tried TMPL_VAR raw_level, raw_string?  — [[Jon]]

> Thanks. I should read the docs more closely the next time.

[[not a bug|done]]