Removes space after tag without description

fixes #86
This commit is contained in:
Jaapio
2017-07-14 18:33:36 +02:00
parent 7c33776cd8
commit 382d7cd6f3
3 changed files with 21 additions and 4 deletions
@@ -26,6 +26,6 @@ class PassthroughFormatter implements Formatter
*/
public function format(Tag $tag)
{
return '@' . $tag->getName() . ' ' . (string)$tag;
return trim('@' . $tag->getName() . ' ' . (string)$tag);
}
}