Content lost after file renaming from .md to .txt #5736
Closed
Description
Describe the bug
If you rename an .md file to a .txt file, the content will be lost after opening it in the built-in text editor.
If you download the renamed file before opening it in the built-in text editor, the content is retained.
To Reproduce
Steps to reproduce the behavior:
- Create or upload a new .md-File with some content
- Open the file with the text editor and check the content
- Close the file and rename it to example_filename.txt
- Open the example_filename.txt-File with the text editor
Expected behavior
After renaming from .md to .txt, the former content should be retained after opening with the text editor.
Server details:
- Nextcloud version: 28.0.2
- PHP Version: 8.1
- Database: MariaDB 10.5.23
Client details:
- OS: Fedora 39
- Browser: Chrome
- Browser version: 123.0.6312.122
- Device: Desktop
Metadata
Assignees
Labels
Type
Projects
Status
☑️ Done
Activity