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
..
2023-01-02 22:46:39 +01:00
2023-01-05 13:58:51 +02:00
2023-02-18 21:17:39 +02:00
2023-01-31 09:45:19 +08:00
2023-02-11 08:39:50 +08:00
2022-12-30 23:31:00 +08:00