Display all entry titles on one line during FOR loop I have a FOR loop that should be displaying all the entry titles on one line. But instead, it is outputting them on separate lines. 

I want to see:

Developer: Jane Doe, Jim Doe


Instead, I am getting:

Developer: Jane Doe
Developer: Jim Doe


My code:

{% set developers = entry.GamesDeveloper %}

{% for developer in developers %}
    &lt;li&gt;Developer: &lt;a href="{{ developer.url }}"&gt;{{ developer.title }}&lt;/a&gt;&lt;/li&gt;
{% endfor %}
This is because you're using an html list &lt;li&gt; element, which by default puts each element on a new line.  You could style away the newline I suppose, but why use it at all...there are a bunch of ways of doing this, but this is one simple one:

{% set developers = entry.GamesDeveloper %}
{% if developers|length %}
Developer: 
{% for developer in developers %}           
    &lt;a href="{{ developer.url }}"&gt;{{ developer.title }}&lt;/a&gt;{% if not loop.last %}, {% endif %}
{% endfor %}
{% endif %}