aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v158.go
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2025-04-04 23:45:23 +0800
committerGitHub <noreply@github.com>2025-04-04 23:45:23 +0800
commit6cee3bfa9611a691584824ea23a75cc1ebcbb46b (patch)
treeb2abb4ecd972a6c98ebc2b3539351697f7d4fca3 /models/migrations/v158.go
parente8b54d9e44fa9a1a734860cf24f0a9826ab3afe8 (diff)
downloadgitea-main.tar.gz
gitea-main.zip
Refactor markup render to fix various path problems (#34114)HEADmain
* Fix #33972 * Use consistent path resolving for links and medias. * No need to make the markup renders to resolve the paths, instead, the paths are all correctly resolved in the "post process" step. * Fix #33274 * Since 1.23, all paths starting with "/" are relative to current render context (for example: the current repo branch) * Introduce `/:root/path-relative-to-root`, then the path will be rendered as relative to "ROOT_URL"
Diffstat (limited to 'models/migrations/v158.go')
0 files changed, 0 insertions, 0 deletions