From f412099f690debaab49e220e9fab70ae75ccbd6b Mon Sep 17 00:00:00 2001 From: Thomas Keller Date: Mon, 30 May 2011 14:48:36 +0200 Subject: [PATCH] Fix whitespace issues in the timeline. --- src/IDF/IssueComment.php | 3 ++- src/IDF/templates/idf/issues/view.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/IDF/IssueComment.php b/src/IDF/IssueComment.php index 20c8339..dd4edd8 100644 --- a/src/IDF/IssueComment.php +++ b/src/IDF/IssueComment.php @@ -164,7 +164,8 @@ class IDF_IssueComment extends Pluf_Model foreach ($ls as $l) { if ($t == 'rem') $out .= ''; $out .= Pluf_esc($l); - if ($t == 'rem') $out .= ' '; + if ($t == 'rem') $out .= ''; + $out .= ' '; } } } else { diff --git a/src/IDF/templates/idf/issues/view.html b/src/IDF/templates/idf/issues/view.html index 8694725..488819c 100644 --- a/src/IDF/templates/idf/issues/view.html +++ b/src/IDF/templates/idf/issues/view.html @@ -44,7 +44,7 @@ {if $w == 'lb' or $w == 'rel'} {foreach $v as $t => $ls} {foreach $ls as $l} - {if $t == 'rem'}{/if}{$l}{if $t == 'rem'} {/if} + {if $t == 'rem'}{/if}{$l}{if $t == 'rem'}{/if} {/foreach} {/foreach} {else}