From ca1a6c998ef02d7dff879d0d5cfee8937d75c902 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 5 Aug 2010 07:23:35 +0000 Subject: Added shortreason to config, allowing users to choose whether they show full or short reason in log. --- weblog-viewblocklog-html.lsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'weblog-viewblocklog-html.lsp') diff --git a/weblog-viewblocklog-html.lsp b/weblog-viewblocklog-html.lsp index f91025b..a9398cd 100644 --- a/weblog-viewblocklog-html.lsp +++ b/weblog-viewblocklog-html.lsp @@ -100,7 +100,7 @@ end <% if (watch.shortreason and watch.shortreason ~= "") then %> <%= html.html_escape(watch.shortreason) %> <% elseif (watch.reason and watch.reason ~= "") then %> - <%= html.html_escape(string.gsub(watch.reason, "%(.*", "")) %> + <%= html.html_escape(watch.reason) %> <% end %> <% end %> -- cgit v1.2.3