Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-12 06:21:56 +01:00
forgejo/web_src/js/markup
Jonathan Tran c34b605314
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.

(cherry picked from commit 1650a26eb5)
2023-06-18 22:49:04 +02:00
..
anchors.js Fix markdown anchor re-clicking (#21931) 2022-11-26 19:15:44 +08:00
asciicast.js Load asciicast css async (#22502) 2023-01-18 12:19:38 -06:00
codecopy.js Add Mermaid copy button, avoid unnecessary tooltip hide (#22225) 2022-12-25 18:17:48 +01:00
content.js Support asciicast files as new markup (#22448) 2023-01-18 08:46:58 +08:00
math.js Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
mermaid.js update to mermaid v10 (#23178) (#23299) 2023-03-05 02:13:50 -05:00
tasklist.js Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236) 2023-06-18 22:49:04 +02:00