Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Notes edit view is showing raw markdown incorrectly

Aperta
#1,770 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
frontend, web-dev

Direzione di ricerca

Inizia riproducendo il problema nell’interfaccia web di Notes seguendo i passaggi indicati per il titolo, l’intestazione e il sottotitolo, quindi confronta la vista di modifica con il Markdown scaricato e l’anteprima. Il lavoro è completato quando la vista di modifica mostra il Markdown non elaborato in modo coerente, con i caratteri Markdown evidenziati come previsto, mentre l’anteprima e il file scaricato rimangono corretti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug feature: editor need to reproduce

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:

{ "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

Lingua principale
JavaScript
Stelle
738
Fork
162
Merge medio
2h 40m
PR unite (30g)
39

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/notes

Tutte le issue di nextcloud/notes

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.