loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove unneeded case for a trailing dot

-8
-8
modules/markup/file_preview.go
··· 62 62 preview.start = m[0] 63 63 preview.end = m[1] 64 64 65 - // If url ends in '.', it's very likely that it is not part of the 66 - // actual url but used to finish a sentence. 67 - if strings.HasSuffix(preview.urlFull, ".") { 68 - preview.end-- 69 - preview.urlFull = preview.urlFull[:len(preview.urlFull)-1] 70 - hash = hash[:len(hash)-1] 71 - } 72 - 73 65 projPathSegments := strings.Split(projPath, "/") 74 66 fileContent, err := DefaultProcessorHelper.GetRepoFileContent( 75 67 ctx.Ctx,