summaryrefslogtreecommitdiffstats
path: root/models/repo
diff options
context:
space:
mode:
Diffstat (limited to 'models/repo')
-rw-r--r--models/repo/repo.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/models/repo/repo.go b/models/repo/repo.go
index 3fd701f874..596a4268c8 100644
--- a/models/repo/repo.go
+++ b/models/repo/repo.go
@@ -578,8 +578,7 @@ func (repo *Repository) CanEnableEditor() bool {
// DescriptionHTML does special handles to description and return HTML string.
func (repo *Repository) DescriptionHTML(ctx context.Context) template.HTML {
desc, err := markup.RenderDescriptionHTML(&markup.RenderContext{
- Ctx: ctx,
- URLPrefix: repo.HTMLURL(),
+ Ctx: ctx,
// Don't use Metas to speedup requests
}, repo.Description)
if err != nil {