<p></p>
<p dir="auto">I agree with <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tomhughes/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomhughes">@tomhughes</a>' comment on <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2477938099" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5103" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5103/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5103">#5103</a> that this approach is more standard for addressing <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1527352900" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3887" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/3887/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/3887">#3887</a>. Since we're using Markdown, we should account for edge cases where the entry starts with images, headings, code blocks, or tables, which may look unreadable when truncated. Instead of using max-height, alternative solution would be to extract the first paragraph or a fixed number of characters and append ellipses (...). This would ensure the preview remains readable and coherent without cutting off important elements.</p>
<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/5121#issuecomment-2315239495">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKHSMR2FJGY2FFBW4TZTXB4ZAVCNFSM6AAAAABNFQLUA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJVGIZTSNBZGU">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNL4B2PFJ3DTTIJBL3ZTXB4ZA5CNFSM6AAAAABNFQLUA6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUJ77AEO.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/5121/c2315239495</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/5121#issuecomment-2315239495",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5121#issuecomment-2315239495",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>