From f8ef7e4a7c538bf392237c6c29caa9dedca6e29e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 18 Sep 2021 02:25:16 +0200 Subject: Add README for mktpl --- t/post.t | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 't/post.t') diff --git a/t/post.t b/t/post.t index deeb285..549b4ec 100644 --- a/t/post.t +++ b/t/post.t @@ -13,24 +13,16 @@
 <%= post->text %>
 
-<% -if(attachment = getattachment(stmt, 0)){ -%> +<% if(attachment = getattachment(stmt, 0)){ %>

Attachments

- <% - do{ - %> + <% do{ %> - <% - }while(attachment = getattachment(stmt, 0)); - %> + <% }while(attachment = getattachment(stmt, 0)); %>
id); %>"><%= attachment->name %> <%= attachment->mime %> <%= attachment->description %>
-<% -} -%> +<% } %> <% #include "foot.tc" %> \ No newline at end of file -- cgit v1.2.3