-
Notifications
You must be signed in to change notification settings - Fork 278
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
Checklists break (markdown) styled text in description field #2109
Comments
Screenshots of the bug https://imgur.com/a/nPp6bma |
FWIW: I inspected the code and the issue lies in the imported library markdown-it-task-lists which, unfortunately, seems to be abandoned. There is an issue (revin/markdown-it-task-lists#27) w/ an (unproper) pull request (revin/markdown-it-task-lists#29). |
FWIW, maybe the best approach would be dropping markdown-it altogether and move to Nextcloud Text engine? https://nextcloud.com/blog/nextcloud-introduces-collaborative-rich-text-editor/ The Nextcloud Notes app is doing the same (nextcloud/notes#331) |
That is the plan actually, yes 😁 See #1663 |
Thank you very much :) |
@juliushaertl Phew! I was just browsing Issues to see if I needed to report another one with Checklists in Descriptions. Namely, if a grave accent (aka backtick) is used to emphasize For example, this in Edit mode:
Renders like this in View mode:
|
Are there any news on this? The pull request to use the NC text app was closed due to lack of time. Is there a chance that the move to https://github.com/linsir/markdown-it-task-checkbox as written by @hrk takes less effort but fixes it quickly? |
How to use GitHub
Describe the bug
Styled text is broken when using checklists.
This happens with the new markdown-it engine, can't check the old engine.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
View correctly styled text
Screenshots
Put the following text in a new task in Deck and in https://markdown-it.github.io/
Client details:
Server details
Operating system: Linux (Gentoo)
Web server: Apache 2.4.41
Database: PostgreSQL
PHP version: 7.4.6
Nextcloud version: 18.0.6
Where did you install Nextcloud from: official Gentoo ebuild repository
Signing status:
List of activated apps:
Nextcloud configuration:
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
The text was updated successfully, but these errors were encountered: