Relative markdown URLs should be resolved relative to repo url #347

Closed
opened 2021-03-12 11:35:35 +00:00 by noerw · 1 comment
Member

..to reproduce the behaviour of the markdown renderer in the web ui.

is

[foo](src/branch/master/modules/print/markdown.go)
->
https://gitea.com/src/branch/master/modules/print/markdown.go

should

[foo](src/branch/master/modules/print/markdown.go)
->
https://gitea.com/gitea/tea/src/branch/master/modules/print/markdown.go

testcase: foo

ref: #332 (comment)

..to reproduce the behaviour of the markdown renderer in the web ui. is ``` [foo](src/branch/master/modules/print/markdown.go) -> https://gitea.com/src/branch/master/modules/print/markdown.go ``` should ``` [foo](src/branch/master/modules/print/markdown.go) -> https://gitea.com/gitea/tea/src/branch/master/modules/print/markdown.go ``` testcase: [foo](src/branch/master/modules/print/markdown.go) ref: https://gitea.com/gitea/tea/issues/332#issuecomment-314249
noerw added the
kind
enhancement
label 2021-03-12 11:35:35 +00:00
Owner

closed by #401

closed by #401
6543 closed this issue 2021-12-02 18:59:31 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#347
No description provided.