inserting them into the html template. This ensures that markdown
acts on them, even if the value is expanded inside a block-level html
element in the html template. Closes: #454058
* Use a div in the note template rather than a span.
$template->param($param => $params{$param});
}
- return IkiWiki::preprocess($params{page}, $params{destpage},
+ return IkiWiki::htmlize($params{page}, pagetype($pagesources{$params{page}}),
+ IkiWiki::preprocess($params{page}, $params{destpage},
IkiWiki::filter($params{page}, $params{destpage},
- $template->output));
+ $template->output)));
} # }}}
1
cached value.
* Preserve input file modification times in output files.
* Allow dashes in preprocessor directive commands, and shortcuts.
+ * Htmlize parameters passed to the template preprocessor directive before
+ inserting them into the html template. This ensures that markdown
+ acts on them, even if the value is expanded inside a block-level html
+ element in the html template. Closes: #454058
+ * Use a div in the note template rather than a span.
-- Joey Hess <joeyh@debian.org> Mon, 03 Dec 2007 14:47:36 -0500
-<span class="notebox">
+<div class="notebox">
<TMPL_VAR text>
-</span>
+</div>
<TMPL_UNLESS NAME="text">
Use this template to insert a note into a page. The note will be styled to
float to the right of other text on the page. This template has one