Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown list with formatting rendering duplicate text #2753

Closed
hctrdev opened this issue Jan 25, 2021 · 1 comment
Closed

Markdown list with formatting rendering duplicate text #2753

hctrdev opened this issue Jan 25, 2021 · 1 comment

Comments

@hctrdev
Copy link

hctrdev commented Jan 25, 2021

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Describe the bug
When rendering a markdown list in a card description, duplicate text is shown if the list item includes formatted text.

I observed this issue with bold formatting, but it appears to affect all markdown formatting (e.g italics and links)

To Reproduce

  1. Edit the description of a card and include the following markdown:
- [ ] **Step 1:** Do something
- [ ] **Step 2:** Do another thing
  1. Render the preview of the card description.

Expected behavior
The rendered markdown should show the Checkbox, followed by "Step 1" in bold, followed by "Do something" without formatting.

Actual behavior
The rendered description shows "Step 1" twice, once in bold, and once in raw markdown.

Screenshots
In edit mode:
image

In preview mode:
image

Client details:

  • OS: Linux Mint
  • Browser Firefox
  • Version: 84.0.2 (64-bit)
  • Device: Desktop
Server details

Operating system: Linux 4.15.0-128-generic #131-Ubuntu SMP Wed Dec 9 06:57:35 UTC 2020 x86_64

Webserver: Apache/2.4.38 (Debian) (apache2handler)

Database: mysql 5.7.32

PHP version: 7.4.13

Nextcloud version: 20.0.4 - 20.0.4.0

Deck version: 1.2.3

@reox
Copy link
Contributor

reox commented Jan 27, 2021

duplicate of #2138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants