To reproduce:
$ cat test.coffee
a href: '', -> 'link'
text 'after'
$ coffeecup -f test.coffee && cat test.html
<a href="">
link
</a>
after
$ open test.html
Perhaps there should be a formatting exception for text within <a> so that it gives:
<a href="">link</a>
after
However, this still leaves the problem that it adds a space between link and after. I don't think using the -f option should change how the page looks - just how the HTML looks.