mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-16 15:56:34 +00:00
Backport https://github.com/go-gitea/gitea/pull/25184 by @jtran
Closes #25225.
Fixes https://github.com/go-gitea/gitea/issues/25160.
`data-source-position` of checkboxes in a task list was incorrect
whenever there was YAML front matter. This would result in issue content
or PR descriptions getting corrupted with random `x` or space characters
when a user checked or unchecked a task.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| math | ||
| ast.go | ||
| convertyaml.go | ||
| goldmark.go | ||
| markdown.go | ||
| markdown_test.go | ||
| meta.go | ||
| meta_test.go | ||
| renderconfig.go | ||
| renderconfig_test.go | ||
| toc.go | ||