mirror of https://gitea.com/gitea/tea
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
d2295828d0
Path-only URLs need an absolute reference to be resolved against for printing in markdown Previously we resolved against the URL to the resource we were operating on (eg comment or issue URL). The markdown renderer in the web UI resolves all such URLs relative to the repo base URL. This PR adopts this behaviour in tea, by trimming the URL to a repo base URL via regex. This makes a custom patch to our markdown renderer `glamour` obsolete, which turned out to be an incorrect patch, meaning we can make use of upstream glamour again. Co-authored-by: Norwin <git@nroo.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/401 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io> |
3 years ago | |
---|---|---|
.. | ||
AlecAivazis/survey/v2 | 3 years ago | |
Microsoft/go-winio | 3 years ago | |
ProtonMail/go-crypto | 3 years ago | |
acomagu/bufpipe | 3 years ago | |
adrg/xdg | 3 years ago | |
alecthomas/chroma | 3 years ago | |
araddon/dateparse | 3 years ago | |
aymerick/douceur | 3 years ago | |
charmbracelet/glamour | 3 years ago | |
cpuguy83/go-md2man/v2 | 3 years ago | |
danwakefield/fnmatch | 4 years ago | |
davecgh/go-spew | 5 years ago | |
dlclark/regexp2 | 3 years ago | |
emirpasic/gods | 5 years ago | |
enescakir/emoji | 3 years ago | |
go-git | 3 years ago | |
gorilla/css | 4 years ago | |
hashicorp/go-version | 3 years ago | |
imdario/mergo | 3 years ago | |
jbenet/go-context | 5 years ago | |
kballard/go-shellquote | 4 years ago | |
kevinburke/ssh_config | 3 years ago | |
lucasb-eyer/go-colorful | 4 years ago | |
mattn | 3 years ago | |
mgutz/ansi | 4 years ago | |
microcosm-cc/bluemonday | 3 years ago | |
mitchellh/go-homedir | 5 years ago | |
muesli | 3 years ago | |
olekukonko/tablewriter | 4 years ago | |
pmezard/go-difflib | 5 years ago | |
rivo/uniseg | 4 years ago | |
russross/blackfriday/v2 | 4 years ago | |
sergi/go-diff | 3 years ago | |
skratchdot/open-golang | 5 years ago | |
stretchr/testify | 4 years ago | |
urfave/cli/v2 | 4 years ago | |
xanzy/ssh-agent | 3 years ago | |
yuin | 3 years ago |