You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ 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.
The text was updated successfully, but these errors were encountered:
@lorensr If you want the link to be rendered inline, you could do:
p"Before #{cede->ahref:'/', 'a link'} after."
That will output:
<p>Before <ahref="/">a link</a>
after.</p>
I did a little work on separating inline tags (e.g. a, span, etc.) from the regular tags so that they would always be formatted inline when using the -f option. Do you think that's something other people would be interested in?
To reproduce:
Perhaps there should be a formatting exception for text within
<a>
so that it gives:However, this still leaves the problem that it adds a space between
link
andafter
. I don't think using the-f
option should change how the page looks - just how the HTML looks.The text was updated successfully, but these errors were encountered: