<p>In app/views/changeset/_changeset.xml.builder:</p>
<pre style='color:#555'>> +xml.changeset(changeset_attributes) do |asterx|
> +  changeset.tags.each do |k,v|
> +    xml.tag :k => k, :v => v
> +  end
> +  if @comments
> +    xml.discussion do 
> +      @comments.each do |comment|
> +        xml.comment do
> +          xml.date comment.created_at
> +
> +          xml.uid comment.author.id
> +          xml.user comment.author.display_name
> +          xml.user_url user_url(:display_name => comment.author.display_name, :host => SERVER_URL)
> +
> +          xml.text comment.body.to_text
> +          xml.html comment.body.to_html
</pre>
<p>I know, but I was never very happy with it... The really crazy thing is that I don't think it's actually used anymore, but it was needed for the original notes implementation on the web site.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/pull/772/files#r15558378">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/1419053__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMjI5NDA2OSwiZGF0YSI6eyJpZCI6MzU4NjU3NjJ9fQ==--76f344463fb6ff5ca5b2e49d78a4ca960fde2462.gif" width="1" /></p>