Task list fails at formatting, links #2234

Closed
opened 2026-02-20 16:12:38 -05:00 by deekerman · 1 comment
Owner

Originally created by @Taffer on GitHub (Nov 26, 2020).

Originally assigned to: @NGPixel on GitHub.

Describe the bug
Adding task list items with Markdown makes the editor preview and the rendered page go nuts.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Markdown page or edit an existing one.
  2. Add a task list of - [ ] items, all is well.
  3. Add formatting, or links to any of the task items.
  4. Behold the horrors!

Expected behavior
Task lists should work properly with additional formatting in them; they should be exactly like regular unordered list items, just with a checkbox.

Screenshots

In the editor, I have:

Making a task list in Markdown with additional markup in it appears to go nuts:

- [ ] Here's an *Italic*.
- [ ] Here's a [link](https://www.isara.com/)
- [ ] This isn't quite right.

- [ ] What about **this**?

Which produces this in the preview:

Screen Shot 2020-11-26 at 8 29 53 AM

And this in the rendered page:

Screen Shot 2020-11-26 at 8 30 46 AM

Host Info (please complete the following information):

  • OS: Ubuntu 20.04 LTS, node.js 10.19.0
  • Wiki.js version: 2.5.170
  • Database engine: PostgreSQL 12.5
Originally created by @Taffer on GitHub (Nov 26, 2020). Originally assigned to: @NGPixel on GitHub. **Describe the bug** Adding task list items with Markdown makes the editor preview and the rendered page go nuts. **To Reproduce** Steps to reproduce the behavior: 1. Create a new Markdown page or edit an existing one. 2. Add a task list of `- [ ] items`, all is well. 3. Add formatting, or links to any of the task items. 4. Behold the horrors! **Expected behavior** Task lists should work properly with additional formatting in them; they should be exactly like regular unordered list items, just with a checkbox. **Screenshots** In the editor, I have: ```markdown Making a task list in Markdown with additional markup in it appears to go nuts: - [ ] Here's an *Italic*. - [ ] Here's a [link](https://www.isara.com/) - [ ] This isn't quite right. - [ ] What about **this**? ``` Which produces this in the preview: ![Screen Shot 2020-11-26 at 8 29 53 AM](https://user-images.githubusercontent.com/1213088/100357016-13f64680-2fc2-11eb-8fb5-3cd043dbd381.png) And this in the rendered page: ![Screen Shot 2020-11-26 at 8 30 46 AM](https://user-images.githubusercontent.com/1213088/100357032-18bafa80-2fc2-11eb-8b0e-0fb408f4cbb8.png) **Host Info (please complete the following information):** - OS: Ubuntu 20.04 LTS, node.js 10.19.0 - Wiki.js version: 2.5.170 - Database engine: PostgreSQL 12.5
deekerman 2026-02-20 16:12:38 -05:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@NGPixel commented on GitHub (Nov 26, 2020):

Duplicate of #1226

@NGPixel commented on GitHub (Nov 26, 2020): Duplicate of #1226
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wiki#2234
No description provided.