0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-04 21:55:04 +02:00
wxiaoguang 6cee3bfa96
Refactor markup render to fix various path problems (#34114)
* 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"
2025-04-04 23:45:23 +08:00
..
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2025-03-31 01:53:48 -04:00
2025-03-31 01:53:48 -04:00
2025-03-13 07:04:50 +08:00
2025-04-01 10:14:01 +00:00
2025-04-01 10:14:01 +00:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2023-02-11 08:39:50 +08:00
2025-03-13 07:04:50 +08:00
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2022-12-30 23:31:00 +08:00
2025-04-01 10:14:01 +00:00
2025-04-01 10:14:01 +00:00
2024-12-24 01:54:19 +00:00
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-04-01 10:14:01 +00:00
2025-04-01 10:14:01 +00:00
2025-03-11 10:40:38 -07:00