forgejo/templates/repo/editor
mrsdizzie 3ff0a126e1 Improve issue autolinks (#6273)
* Improve issue autolinks

Update autolinks to match what github does here:

Issue in same repo: #1
Issue in different repo: org/repo#1

Fixes #6264

* Use setting.AppURL when parsing URL

Using setting.AppURL here is a more reliable way of parsing the current
URL and what other functions in this file seem to use.

* Make ComposeMetas always return a valid context

* Add per repository markdown renderers for better context

* Update for use of context metas

Now that we include the user and repo name inside context metas, update
various code and tests for this new logic
2019-04-12 08:53:34 +03:00
..
commit_form.tmpl Remove unnecessary Safe tags (#3778) 2018-04-10 06:43:37 +03:00
delete.tmpl Web editor: improve delete file process 2016-08-28 01:41:44 -07:00
diff_preview.tmpl Fix file edit change preview functionality (#5300) 2018-11-09 14:05:43 +02:00
edit.tmpl Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
upload.tmpl repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032) 2017-06-22 23:30:47 +08:00