mirror of
1
Fork 0
forgejo/web_src/js
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
..
components Do not select line numbers when selecting text from the action run logs (#24594) (#24596) 2023-05-08 15:56:53 -04:00
features [BRANDING] Rebrand default config settings for new installs (#140) 2023-05-10 11:05:21 +02:00
markup Fix task list checkbox toggle to work with YAML front matter (#25184) (#25236) 2023-06-18 22:49:04 +02:00
modules Fix `aria.js` bugs: incorrect role element problem, mobile focus problem, tippy problem (#23450) (#23486) 2023-03-18 17:14:19 +01:00
standalone [API] Forgejo API /api/forgejo/v1 2023-05-10 09:20:14 +02:00
test Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2023-02-06 12:09:18 -06:00
utils Remove assertion debug code for show/hide refactoring (#23576) (#23868) 2023-04-02 16:20:06 +08:00
webcomponents Polyfill the window.customElements (#23592) (#23595) 2023-03-20 19:52:05 +01:00
bootstrap.js Quick fixes monaco-editor error: "vs.editor.nullLanguage" (#21734) 2022-11-09 18:02:19 +08:00
index.js Improve AppUrl/ROOT_URL checking (#22836) 2023-02-09 11:14:45 -05:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 2020-05-24 08:36:40 +01:00
svg.js Fix adding of empty class name (#23352) (#23360) 2023-03-07 17:15:19 -05:00
svg.test.js Remove vitest globals (#21505) 2022-10-19 14:50:19 +08:00
utils.js Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
utils.test.js Fix links for the menus in the view file page (#22795) 2023-02-08 00:08:44 +08:00