aboutsummaryrefslogtreecommitdiff
path: root/templates/inlinepage.tmpl
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-04-04 20:57:46 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-04-04 20:57:46 +0000
commit7a5ae22e5a5789bf2b1be432cdc7551ab78a5241 (patch)
tree33e575b9854a95093145c02dd10bd26e36c3f1ae /templates/inlinepage.tmpl
parentca57400d532741da4ff510c6905973e89c65a328 (diff)
downloadikiwiki-7a5ae22e5a5789bf2b1be432cdc7551ab78a5241.tar
ikiwiki-7a5ae22e5a5789bf2b1be432cdc7551ab78a5241.tar.gz
Convert postprocessordirectives into preprocessordirectives, so they are
expanded before markdown. Consequences: - No need to worry about markdown messing with parameters of preprocessordirectives. (If you had to escape stuff in one before, you'll need to undo that escaping now.) - No need for ugly </p> hacks before inlined subpages. Instead, subpages are wrapped in a <div>, and this prevents markdown from touching them. (This can also be used to add style to subpages.) - rss generation is less of a hack.
Diffstat (limited to 'templates/inlinepage.tmpl')
-rw-r--r--templates/inlinepage.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/inlinepage.tmpl b/templates/inlinepage.tmpl
index 38834c0b2..397ac860c 100644
--- a/templates/inlinepage.tmpl
+++ b/templates/inlinepage.tmpl
@@ -1,3 +1,4 @@
+<div class="inlinepage">
<h1><TMPL_VAR PAGELINK></h1>
<TMPL_VAR CONTENT>
@@ -5,3 +6,4 @@
<p>
<i>(posted <TMPL_VAR CTIME>)</i>
</p>
+</div>