We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 226904b commit c88aa26Copy full SHA for c88aa26
obsidian.js
@@ -454,6 +454,9 @@ function preReplaceObsidianFileLinks(html, req) {
454
if (fileName && fileName.includes("|")) {
455
const parts = fileName.split("|");
456
fileName = parts[0].trim();
457
+ if (fileName.endsWith("\\")) {
458
+ fileName = fileName.slice(0, -1);
459
+ }
460
alt = parts[1].trim();
461
if (alt === "") {
462
alt = null;
0 commit comments