nextcloud / nextcloud/notes-android

Markdown: empty checkmark causes error on plain/rich edit modes

Open
#2,725 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
Java
Stars
1.1k
Forks
168
Avg merge
1d 17h
Merged PRs (30d)
31

Description

This issue respects the following points:
Describe the bug
  1. Create a new note
  2. Make sure to be in rich editing mode (my note started out in rich editing)
  3. Add a checkmark list with the following content:
  • abc
  • def
  1. Now switch to "Plain edit mode"
  2. back to "Rich edit mode".

The app claims the document has changed on the server versus the local version, showing the content side by side. When carefully inspecting the differences, the app renders a checkbox whereas the server version renders as a bullet followed by litteral content "[ ]".

Expected behavior

The server and app agree on the content being a checkbox with without following content, as the content of the note did not change between the mode switches.

Notes Android version

4.3.1

Notes server version

4.12.1

Nextcloud Android version

3.32.1

Nextcloud version

30.0.12

Device

Motorola Moto g73 5g

Android Version

14

App Store
  • Google Play Store
  • F-Droid
  • Huawei App Gallery
Stacktrace

No response

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

Reproduce the issue by creating the three-item checklist, switching from rich edit mode to plain edit mode and back, then compare the displayed local and server content. Trace the plain/rich mode conversion and checkbox handling for an empty item; done means an empty checkbox remains a checkbox and no server-conflict warning appears after switching modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.