MacDownApp/macdown

if path contains '#', then image does not render in preview

marc-medley opened this issue · 0 comments

Issue

If a relative path segment contains #, then the referenced image does not render in preview.

Configuration

  • macOS Big Sur 11.6.3
  • MacDown: version 0.7.3 (1008.4) and version 0.8.0d71 (1079)

Test Files

test folder.zip

Expected Result

The expected result is achieved when the relative paths do not contain #.

test folder 
├── notes.md
└── notes_files
    └── blue.png

Screen Shot 2022-02-14 at 14 32 11

Unexpected Results

See the zip file of a failing test example which is attached in the above Test Files section. (The parent path of the relative path does not appear to have this issue in MacDown.)

test folder 
├── notes#.md
└── notes#_files
    └── blue.png

Screen Shot 2022-02-14 at 14 32 24