]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Merge branch 'master' of ssh://git.ikiwiki.info
authorJoey Hess <joey@kitenet.net>
Sun, 7 Aug 2011 15:02:23 +0000 (11:02 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 7 Aug 2011 15:02:23 +0000 (11:02 -0400)
doc/bugs/Template_variable_not_passed_as-is__63____33__.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/Template_variable_not_passed_as-is__63____33__.mdwn b/doc/bugs/Template_variable_not_passed_as-is__63____33__.mdwn
new file mode 100644 (file)
index 0000000..c6efadb
--- /dev/null
@@ -0,0 +1,17 @@
+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>