aboutsummaryrefslogtreecommitdiff
path: root/templates/blogpost.tmpl
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-29 03:18:21 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-29 03:18:21 +0000
commite41dd1e24e345c974fe4a070088f0d09d1b6ddac (patch)
tree1e38ae17bb30573304f633ae9fe19dbf4935f562 /templates/blogpost.tmpl
parentbfe959167a9bad17cc23f9f8e9920aa2f2eaec1c (diff)
downloadikiwiki-e41dd1e24e345c974fe4a070088f0d09d1b6ddac.tar
ikiwiki-e41dd1e24e345c974fe4a070088f0d09d1b6ddac.tar.gz
html validation fixes:
- escape & in urls (also clean up cgi url generation) - since markdown wraps inlined pages in <p></p>, close and re-open the paragraph tags when generating the embedded html - added XHTML 1.0 doctypes to templates - fixed <hr /> and <br /> in templates - add an alt attribute to inline images, based on the WikiLink to the image. Allows things like [[my_image|img.png]] to customise alt text.
Diffstat (limited to 'templates/blogpost.tmpl')
-rw-r--r--templates/blogpost.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/blogpost.tmpl b/templates/blogpost.tmpl
index 5ded359a1..8e4bb6a7d 100644
--- a/templates/blogpost.tmpl
+++ b/templates/blogpost.tmpl
@@ -1,4 +1,4 @@
-<hr>
+<hr />
<form action="<TMPL_VAR CGIURL>" method="GET">
<input type="hidden" name="do" value="blog">
<input type="hidden" name="from" value="<TMPL_VAR ROOTPAGE>">
@@ -6,4 +6,4 @@
Add a new post titled: <input name=title size=40>
<input type="submit" value="Edit">
</form>
-<hr>
+<hr />