<p dir="auto">For <code class="notranslate">/user/:name/diary/:id</code> pages.</p>
<p dir="auto">Part of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="188008491" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/1361" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/1361/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/1361">#1361</a>, which also asks for descriptions but I'm not sure what to put there.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4882'>https://github.com/openstreetmap/openstreetmap-website/pull/4882</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4882/commits/c7353c9ac1553b5fd4b26253ead0f129ca714717" class="commit-link">c7353c9</a> Add image method to get first image from rich text</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4882/commits/a73e20cd5c71afbc7405923b165d3f698a9b6897" class="commit-link">a73e20c</a> Set Open Graph image to first image for diary entries</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4882/commits/24c138ac8d5952117611146cec78379eb12e315f" class="commit-link">24c138a</a> Ensure that Open Graph image url is absolute</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4882/files">7 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4882/files#diff-4b73866ef57c70fca07c0f330d7a57aae939b11e4aae0514f303df3aa3762f89">app/controllers/diary_entries_controller.rb</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4882/files#diff-3b130313f33af70814d5335654e0d36dd7225fde4555e9db4aeb59daf7da6924">app/helpers/open_graph_helper.rb</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4882/files#diff-d8b3d068c5bcf3464bff0f2273bab8d609b7f6b4afd6089020aff892dc4ce88f">app/models/diary_entry.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4882/files#diff-b3aa1d88647a55c139237705e584a32ca1962ba65e0e1b55b714fcc2b8e9c2fb">app/views/layouts/_meta.html.erb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4882/files#diff-6854f233485e4f1bf82ed21283e3637f9114d7c5431b80926ba2f5657b54e9fb">lib/rich_text.rb</a>
(27)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4882/files#diff-10a5c4533814c8b1222f0ef0833c82edd68584d85757fc431557b39813777c19">test/controllers/diary_entries_controller_test.rb</a>
(22)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4882/files#diff-c1cefbd36a92f5d74850361751b9b01c7d326221cfa8c15c0c071008165de745">test/lib/rich_text_test.rb</a>
(25)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4882.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4882.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4882.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4882.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4882">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLII3IAUYKBE3T4R6VDZGB6SDAVCNFSM6AAAAABI47RTEKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTQNJVGAYDCNY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIFH7VQCUK2ILRGVMTZGB6SDA5CNFSM6AAAAABI47RTEKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHIWY3RAE.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4882</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4882",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4882",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>