aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-01-26 22:26:50 -0500
committerJoey Hess <joey@gnu.kitenet.net>2010-01-26 22:33:46 -0500
commit73253d6925ef84f9dd9e72919f8a136b93a0d277 (patch)
treed4abca819af56ebd9c8458d4fceb21b9742ed937 /debian
parentf89b6f49d021762de8a260e92a4a3787cbf89b32 (diff)
downloadikiwiki-73253d6925ef84f9dd9e72919f8a136b93a0d277.tar
ikiwiki-73253d6925ef84f9dd9e72919f8a136b93a0d277.tar.gz
template: Preprocess parameters before htmlizing.
Consider a template like: [[!template type=note text=""" [[!inline pages="*foo*"]] """]] The text parameter is htmlized before being passed into the template (in case the template wraps it in a <span> that prevents markdown from htmlizing it later). But, when markdown sees "*foo*", it turns that into <em>foo</em>. Later, when preprocessing the inline directive, that leads to suprising results. To fix this, I made template parameters be preprocessed (and filtered) before being htmlized. Note that I left in the preprocessing (and filtering) of the template output at the end. That's still relevant when the template itself contains preprocessor directives.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 4e76b1d69..0ec696d3c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ikiwiki (3.20100123) UNRELEASED; urgency=low
+
+ * template: Preprocess parameters before htmlizing.
+
+ -- Joey Hess <joeyh@debian.org> Tue, 26 Jan 2010 22:25:33 -0500
+
ikiwiki (3.20100122) unstable; urgency=low
* inline: Avoid showing edit links if page editing is disabled.