Skip to content

text-editor drops angle brackets from paths with spaces, so links and images become plain text #3435

Closed

Description

@duderik

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Discussions
  • I searched the issues and discussions of opencloud-eu/web, opencloud-eu/opencloud and opencloud-eu/web-extensions and found nothing about this

Bug Description

CommonMark allows spaces in a link or image path only inside angle brackets. When the text editor saves Markdown, it drops these brackets. After the next load, such links and images show as plain text. Our notes contain 950 such links (in 229 notes) and 109 such images (in 28 notes).

Reproduction Steps

  1. Upload this file as test.md:

    [My plan](<docs/My Plan.md>)
    
    ![](<images/My Photo.png>)
  2. Open it in the text editor, change any word, save.

Expected Outcome

Both paths keep their angle brackets.

Actual Outcome

[My plan](docs/My Plan.md)

![](images/My Photo.png)

Setup

OpenCloud 8.0.1 (Web 8.0.0). We saw the image case on our instance and reproduced the link case with the editor's extensions. Related: #3434

Activity

  1. JammingBen commented on Nov 10, 2026

    @JammingBen
    Member

    This has been fixed meanwhile via #4316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions