nextcloud / nextcloud/deck

Markdown URLs in markdown lists cause the checkbox to become a hyperlink and go to the different web page address when clicked

Open
#2,640 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: description
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

version 1.2.2

A captioned markdown URL eats into the preceding checkbox.

To Reproduce
Steps to reproduce the behavior:

  1. Make a list of markdown URLs with display text such as:
- [ ] U6 [How online presentations work](https://money.howstuffworks.com/business-communications/how-online-presentations-work1.htm) 
- [x] U6 [Remember these 6 facial expression tips when presenting](https://www.duarte.com/presentation-skills-resources/facial-expressions-matter-when-presenting-heres-why/)
- [ ] U6 [Presentation rubrics](https://www.uwstout.edu/academics/online-distance-education/online-professional-development/educational-resources-rubrics/creating-and-using-rubrics-assessment#presentationrubrics)
  1. The checkbox becomes a URL (The square itself is highlighted with the URL color. Clicking it checks it, but also goes to the webpage)

Expected behavior
Exclude the checkbox from the URL if the markdown brackets exclude it.

Screenshots
kanban - link doesn't terminate - live

Client details:

  • OS: Windows 10
  • Browser Firefox
  • Version 83.0
  • Device: desktop
Server details **Operating system**: Ubuntu 20.04

Web server:
Nginx

Database:
PostgreSQL

PHP version:
7.3

Nextcloud version: (see Nextcloud admin page)
19.0.5

Where did you install Nextcloud from:
tarball (then upgraded via GUI several times)

Signing status:

No errors have been found.

List of activated apps:
N/A

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Nextcloud configuration:
N/A

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or

Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No

Logs
Nextcloud log (data/nextcloud.log)

N/A

Insert your Nextcloud log here
Browser log
N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by reproducing the supplied markdown list in Deck and trace the markdown rendering entry point; done means the checkbox is not part of the link target while the displayed URL still opens correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, markdown
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.