[x]):When referencing commit hashes within issue comments, they are never linked to the corresponding commit – whether separate on a line or enclosed by text (yes, I saw #1667), whether shortened to 7, 10 or not at all (in which case the parser shortens the string, but doesn't link it) – no link.
Of course the corresponding commits exist in the very same project, so it's not that there'd be no target. As the linking does work on try.gitea.io it seems that either something must be missing with my installation (single-binary drop-in: gitea-1.1.2-linux-arm-7), or this is a bug specific to the ARM build.
For this input:
foo
5c5c946673
bar 5c5c946673ebd1fdcc996a5a198699b4e3ace9b4
Result is rendered like this:
<div class="ui bottom attached tab segment markdown active" data-tab="preview"><p>foo</p>
<p>5c5c946673</p>
<p>bar 5c5c94667</p>
</div>
The last line suggests Gitea did recognize it as hash, as otherwise I don't see why it got shortend.
Just updated to the fresh new 1.1.3 and wonder: does the milestone 1.2.0 mean the fix won't be included before that? As the issue still persists with v1.1.3. Same for #1541 (which was marked fixed even before v1.1.2 was released).
Yes, these two PR haven't be backported to v1.1.3. But maybe we can backported it to v1.1.4.
No deal-breaker, I just tried to understand. But of course, the sooner the better :wink:
@IzzySoft #2291 and #2293 both are backported to v1.1.4
@lunny Thanks a lot!
Yes! Working in v1.2 – thanks again!
Most helpful comment
@IzzySoft #2291 and #2293 both are backported to v1.1.4