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

The relative path with spaces in embed note should be encoded #1316

Open
MasouShizuka opened this issue Jan 4, 2024 · 0 comments
Open

The relative path with spaces in embed note should be encoded #1316

MasouShizuka opened this issue Jan 4, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@MasouShizuka
Copy link

Describe the bug

If a note references another note that is not in the same folder, and the latter has content with a relative path, then the relative path would be completed in embed note of former, but this does not encode characters such as space, causing the preview to fail.

Small Reproducible Example

No response

Steps to Reproduce the Bug or Issue

For example, this is note2:
image
And this is note1 which contains embed note 2:
image

It can be seen that the preview fails because the completed path in note1's embed note2 does not encode space.

Expected behavior

The completed path in embed note2 of note1 should encode characters such as space.

Screenshots or Videos

No response

Operating System Version

Windows

Visual Studio Code Version

1.85.1

Additional context

No response

@riccardoferretti riccardoferretti added the bug Something isn't working label Jan 5, 2024
@riccardoferretti riccardoferretti added this to the backlog milestone Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants