Notes edit view is showing raw markdown incorrectly
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 738
- Forks
- 162
- Avg merge
- 6h 2m
- Merged PRs (30d)
- 35
Description
Steps to reproduce
- Create a new note using the web UI
- Add a title, heading and subheading
- Notice how additional lines are added in the edit view
- View the preview, notice how this looks correct
- Download the file and look at in a text editor
- Notice how this looks as expected
Expected behaviour
The edit view has previously shown the raw markdown but with the markdown characters highlighted in grey.
Actual behaviour
Additional lines are now added which are confusing and do not match the raw markdown.
I have tested this on multiple Windows PC's running both Firefox and Edge and am seeing the same issue.
This appears to have occured since I updated a very old instance of Nextcloud to the version listed below.
I was at least two versions behind.
Screenshots
Gif showing the issue
Downloaded file in notepad showing the raw markdown is as expected.
Server
Please complete the following information.
- Notes app version: 4.13.0
- Nextcloud version: Nextcloud Hub 25 Autumn (32.0.6)
- OS: NextcloudPi v1.56.0 (Debian GNU/Linux 12. 6.1.21-v8+ (aarch64))
- Web server: Unknown
- PHP version: Unkonwn
- Database: MariaDB
Nextcloud configuration:
Client
Please complete the following information.
- Browser (incl. version): Firefox 148 Edge 145.0.3800.82 (Official build) (64-bit)
- OS: Windows 11
Log files
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the Notes web UI using the reported title, heading, and subheading steps, then compare the edit view with the downloaded markdown and preview. Done means the edit view shows the raw markdown consistently, with markdown characters highlighted as expected, while the preview and downloaded file remain correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100