Skip to content
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

[Bug]: Markdown editor adds additional line to code blocks on each save #2437

Closed
3 of 8 tasks
Discostu36 opened this issue May 20, 2022 · 4 comments
Closed
3 of 8 tasks
Labels
0. Needs triage bug Something isn't working

Comments

@Discostu36
Copy link

Discostu36 commented May 20, 2022

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

When editing a Markdown document that contains a code block like this:

This is an example 

Every time that the file is edited and saved, the markdown editor adds an additional line to each code block in the document:

This is an example

Steps to reproduce

  1. Create a md.-File with a code block in it
  2. Edit the file in the integrated Markdown editor of the files app
  3. Save the file and re-open it.

Expected behavior

The app should not add additional lines.

Installation method

No response

Operating system

No response

PHP engine version

No response

Web server

No response

Database engine version

No response

Is this bug present after an update or on a fresh install?

No response

Are you using the Nextcloud Server Encryption module?

No response

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

* Calendar
* Notes
* Deck
* Tasks

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

Nextcloud 23.0.4.1
I don't have admin access to the server.

@Discostu36 Discostu36 added 0. Needs triage bug Something isn't working labels May 20, 2022
@szaimen szaimen transferred this issue from nextcloud/server May 22, 2022
@XueSheng-GIT
Copy link

Is this related to #2344?

@XueSheng-GIT
Copy link

Could also be related to #2337.

@XueSheng-GIT
Copy link

Last one I found which could be related: #2287

@Discostu36
Copy link
Author

You are right, this is a duplicate of #2344

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants