Add a whitespace at the end of the line in Jade

If you don’t want inline HTML or HTML entities in your code this is what you can do:

p
    | Avatar hosted by
    =  ' '
    a(href="http://www.gravatar.com/", target="_blank") Gravatar

or this is is shorter

p= 'Avatar hosted by '
    a(href="http://www.gravatar.com/", target="_blank") Gravatar

The cleanest is probably this

p Avatar hosted by #{''}
    a(href="http://www.gravatar.com/", target="_blank") Gravatar

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)