arnau / obsidian-metatable

An Obsidian plugin to display the frontmatter section as a fully expanded table.
MIT License
150 stars 13 forks source link

Autolink breaks for wikilinks containing spaces when updating from 13.1 to 14.1 #37

Closed n-a-m-e closed 1 year ago

n-a-m-e commented 2 years ago

Inside the function "Link" urls are encoded and this encoding breaks any wikilinks that contain spaces. For wikilinks the below line setting the localUrl should be the equal to the url variable.

const localUrl = encodeURI((0, import_obsidian2.getLinkpath)(url));

arnau commented 2 years ago

@n-a-m-e thanks for reporting 🙏

reddare commented 1 year ago

Confirmed

arnau commented 1 year ago

@n-a-m-e this should be fixed with version 0.14.3