gitea/modules/markup/markdown
Jonathan Tran 1650a26eb5
Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236)
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.
2023-06-13 20:22:59 +02:00
..
math Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
ast.go Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236) 2023-06-13 20:22:59 +02:00
convertyaml.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
goldmark.go Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236) 2023-06-13 20:22:59 +02:00
markdown_test.go Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236) 2023-06-13 20:22:59 +02:00
markdown.go Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236) 2023-06-13 20:22:59 +02:00
meta_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
meta.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
renderconfig_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
renderconfig.go Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236) 2023-06-13 20:22:59 +02:00
toc.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00