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
|
|
|
|
2011-08-08 18:36:33 +02:00
|
|
|
>> Have you tried TMPL_VAR raw_level, raw_string? — [[Jon]]
|
2011-08-08 18:37:22 +02:00
|
|
|
|
2011-08-08 18:36:33 +02:00
|
|
|
> Thanks. I should read the docs more closely the next time.
|
2011-08-08 23:48:21 +02:00
|
|
|
|
|
|
|
[[not a bug|done]]
|