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