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

As I open a markdown file, file's source code get modified #4232

Closed
nu111 opened this issue May 30, 2023 · 6 comments
Closed

As I open a markdown file, file's source code get modified #4232

nu111 opened this issue May 30, 2023 · 6 comments

Comments

@nu111
Copy link

nu111 commented May 30, 2023

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
When I open a markdown file with NextCloud, the source code gets modified, for example each - in a list get replaced by a *.
If the source it's heavely invalid, the result is very messy.

Describe the solution you'd like
Source code of markdown files should not change, IMHO.

Describe alternatives you've considered
If this is somehow needed, should not be automatic, but only if user consents.

@nu111 nu111 added 0. Needs triage enhancement New feature or request labels May 30, 2023
@nu111 nu111 changed the title Has I open a markdown file, file's source code get modified As I open a markdown file, file's source code get modified May 30, 2023
@szaimen szaimen transferred this issue from nextcloud/server May 30, 2023
@max-nextcloud
Copy link
Collaborator

@nu111 - which version of Nextcloud are you using?

I think from version 26 we made it so that the file will only be written back after making changes to it. So I would like to know if this is still happening to you on a newer version.

@nu111
Copy link
Author

nu111 commented Jun 1, 2023

Hi @max-nextcloud I am on version 25.0.6

@datenangebot
Copy link

@nu111 So if I got it right, the bug if fixed starting with nc26, right?

@nu111
Copy link
Author

nu111 commented Jun 20, 2023

@datenangebot this is what @max-nextcloud reported.
Unfortunately it not easy for me to check cause I am running NextCloud instance on a production environment and I am still running version 25.0.6

@datenangebot
Copy link

@nu111 I can not reproduce it. Do you have a test-file for me please?

I tested on 25.0.8 RC2 with this file content:

- testing
- texts
-

But it does not change after opening in text.

@nu111
Copy link
Author

nu111 commented Jun 23, 2023

@datenangebot

I am now running 25.0.8.

With this source

# This is a title

this is a bullet list with the hyphen symbol

- one
- two
- three

if I open it with the integrated md editor, no changes are made, but if I just hit enter, the list symbol is replaced

# This is a title

this is a bullet list with the hyphen symbol

* one
* two
* three

Here a video about this: https://cloud.nimaia.it/s/5HooJc4JHJrEsQk

So my "bug" report was wrong. I must say I don't like the fact that NC markdown editor replaces - with * but this is OT with this ticket.

Sorry!

@nu111 nu111 closed this as completed Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants