1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 12:59:11 -05:00
forgejo/modules/markup/markdown
Giteabot c207b94e0c
Fix task list checkbox toggle to work with YAML front matter (#25184) (#25227)
Backport #25184 by @jtran

Fixes #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.

Co-authored-by: Jonathan Tran <jon@allspice.io>
2023-06-13 08:23:21 +00: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) (#25227) 2023-06-13 08:23:21 +00:00
convertyaml.go Improve Wiki TOC (#24137) 2023-04-17 15:05:19 -04:00
goldmark.go Fix task list checkbox toggle to work with YAML front matter (#25184) (#25227) 2023-06-13 08:23:21 +00:00
markdown.go Fix task list checkbox toggle to work with YAML front matter (#25184) (#25227) 2023-06-13 08:23:21 +00:00
markdown_test.go Fix task list checkbox toggle to work with YAML front matter (#25184) (#25227) 2023-06-13 08:23:21 +00:00
meta.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
meta_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) (#25227) 2023-06-13 08:23:21 +00:00
renderconfig_test.go Improve Wiki TOC (#24137) 2023-04-17 15:05:19 -04:00
toc.go Improve Wiki TOC (#24137) 2023-04-17 15:05:19 -04:00