-
-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'\' character appears in-app when doing shift+enter in Nextcloud Text #959
Comments
cc @korelstar form the Notes server app and @juliushaertl from the Text server app. Does one of you have an idea what might get wrong here? Is it some weird line break stuff ( |
We use this in text when converting the rendered file back to markdown in order to properly distinguish between hard line breaks and soft breaks which would just be wrapped into the same paragraph when rendering the markdown again. |
Okay, to sum this up:
Therefore this issue is closed from "our" side. If you keep using the Text app and have an issue with the mentioned behavior, you should upvote the linked issue and subscribe to it. 👀 Android app behavior starting with
|
Describe the bug
I copied some notes written in markdown from Simplenote to Nextcloud Notes. Simplenote let me use <br/> to go down a line, but in Nextcloud notes it just didn't work so I deleted them. I searched through old issues and I found that there's a problem with markdown regarding line breaks, but that's not my issue.
My issue is: I edited the note directly in Nextcloud, not with the Notes server app, but modifying the md file in my "Notes" folder. This is to say I used the default markdown editor in Nextcloud. I addes line breaks in the note with shift+enter and they seem to work in the default markdown editor, in the Notes server app and in Nextcloud Notes for Android.
But in Nextcloud Notes for Android, every line break comes with a backslash (\), filling my note with backslashes at every line break both in the editing mode and in the preview mode. This issue doesn't seem to exist in the default markdown editor of Nextcloud and in the Notes server app, only in the latter in editing mode I can see there's a backslash at every line break, as it were the character markdown uses to add line breaks.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If the backslash is the character markdown uses to identify line breaks, the Nextcloud Notes app for Android should not show it, at least in the preview mode.
Screenshots
Default markdown editor in Nextcloud: no backslashes, just line breaks

Notes server app in Nextcloud, editing mode: backslashes with line breaks

Notes server app in Nextcloud, preview mode: no backslashes, just line breaks

Nextcloud notes app for Android, editing mode: backslashes with line breaks

Nextcloud notes app for Android, preview mode: backslashes with line breaks

Smartphone:
Server
Stacktrace
The text was updated successfully, but these errors were encountered: