Skip to content

Notes edit view is showing raw markdown incorrectly #1770

@DAveShillito

Description

@DAveShillito

Steps to reproduce

  1. Create a new note using the web UI
  2. Add a title, heading and subheading
  3. Notice how additional lines are added in the edit view
  4. View the preview, notice how this looks correct
  5. Download the file and look at in a text editor
  6. 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
Image

Downloaded file in notepad showing the raw markdown is as expected.
Image

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:

Details { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": { "0": "localhost", "5": "nextcloudpi.local", "7": "nextcloudpi", "8": "nextcloudpi.lan", "1": "192.168.1.66", "11": "***REMOVED SENSITIVE VALUE***", "4": "***REMOVED SENSITIVE VALUE***", "12": "***REMOVED SENSITIVE VALUE***", "3": "***REMOVED SENSITIVE VALUE***", "": "***REMOVED SENSITIVE VALUE***", "14": "nextcloudpi" }, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "32.0.6.1", "overwrite.cli.url": "https:\/\/digitaljoat.no-ip.org\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "memcache.local": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "timeout": 0, "password": "***REMOVED SENSITIVE VALUE***" }, "tempdirectory": "\/media\/USBdrive\/ncdata\/tmp", "mail_smtpmode": "smtp", "mail_smtpauthtype": "LOGIN", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "overwriteprotocol": "https", "loglevel": "2", "log_type": "file", "maintenance": false, "logfile": "\/media\/USBdrive\/ncdata\/nextcloud.log", "jpeg_quality": 60, "preview_max_x": 2048, "preview_max_y": 2048, "theme": "", "data-fingerprint": "7c55a7e197b64b9966ffcf606dd8c9a5", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "mail_sendmailmode": "smtp", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpauth": 1, "mail_smtpsecure": "ssl", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "memories.db.triggers.fcu": true, "memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-aarch64-glibc", "memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-aarch64", "maintenance_window_start": 3, "default_phone_region": "GB" } }

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneed to reproduceIssue that has not been reproduced

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions