<p><b>@mmd-osm</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2223#discussion_r300085505">app/views/api/map/index.xml.builder</a>:</p>
<pre style='color:#555'>> @@ -0,0 +1,8 @@
+xml.instruct!
+
+xml.osm(OSM::API.new.xml_root_attributes) do |osm|
+ osm << (render(:partial => "bounds", :object => @bounds) || "")
+ osm << (render(@nodes) || "")
+ osm << (render(@ways) || "")
+ osm << (render(@relations) || "")
</pre>
<p>That’s a logical or operator. If render returns nil, an empty string is added to the result as a fallback. See <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="441428833" data-permission-text="Issue title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2223" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/2223/hovercard?comment_id=506019631&comment_type=issue_comment" href="https://github.com/openstreetmap/openstreetmap-website/pull/2223#issuecomment-506019631">#2223 (comment)</a></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2223?email_source=notifications&email_token=AAK2OLI7UVLUM5SOULEQOHTP5TRQPA5CNFSM4HLMFYO2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB5NWQWI#discussion_r300085505">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMR3666BLG4IFDCH4DP5TRQPANCNFSM4HLMFYOQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLMEY5SBDF5ZQUC7IMLP5TRQPA5CNFSM4HLMFYO2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB5NWQWI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2223?email_source=notifications\u0026email_token=AAK2OLI7UVLUM5SOULEQOHTP5TRQPA5CNFSM4HLMFYO2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB5NWQWI#discussion_r300085505",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2223?email_source=notifications\u0026email_token=AAK2OLI7UVLUM5SOULEQOHTP5TRQPA5CNFSM4HLMFYO2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB5NWQWI#discussion_r300085505",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>