add some escapes
authorJon Dowland <jon@ncl.ac.uk>
Thu, 2 Apr 2009 15:15:53 +0000 (16:15 +0100)
committerJon Dowland <jon@ncl.ac.uk>
Thu, 2 Apr 2009 15:15:53 +0000 (16:15 +0100)
doc/forum/How_does_ikiwiki_remember_times__63__.mdwn

index 3da37f3d4313688ffa26bd3042d1bfd785f91fa6..d492961ac5e784dc1fced483d082057b31f86a74 100644 (file)
@@ -79,9 +79,9 @@ Do I have it right?
     fi
 
     date=$(date)
-    echo '[[!template id=draft]]' >> "$pagename"
-    echo "[[!meta date=\"$date\"]]" >> "$pagename"
-    echo "[[!tag draft]]" >> "$pagename"
+    echo '\[[!template id=draft]]' >> "$pagename"
+    echo "\[[!meta date=\"$date\"]]" >> "$pagename"
+    echo "\[[!tag draft]]" >> "$pagename"
     git add "$pagename"
     $EDITOR "$pagename"