BoostNote-Legacy icon indicating copy to clipboard operation
BoostNote-Legacy copied to clipboard

Image not displayed in markdown preview

Open fzzylogic opened this issue 7 years ago • 5 comments

Duplicate of issue #2834

Current behavior

After direct paste or drag and drop of an image in markdown mode, image preview does not work due to insertion of %5C character instead of back slash in preview HTML. Similar to #2815, but relates to markdown preview window, not html export.

screenshot

Expected behavior

Image preview should work.

Steps to reproduce

  1. Cut and paste or drag and drop an image into a markdown note.
  2. Observe broken image link in html preview window.
  3. Open dev console and find the link
  4. Change %5C to back slash.
  5. Observe correctly displayed image.

Environment

  • Version : 0.11.13
  • OS Version and name : Windows 10 [Version 10.0.17134.523]

fzzylogic avatar Feb 03 '19 03:02 fzzylogic

Yeah i suffer from exactly same issue.

afang5472 avatar Feb 03 '19 15:02 afang5472

This issue seems not happen in Ubuntu system, it could be related to Windows

zzdjk6 avatar Feb 04 '19 01:02 zzdjk6

Hello,

This is a known issue and they are working on it.

issue#2834 pull#2848

Devsper avatar Feb 04 '19 09:02 Devsper

Just ![xyz.png](:storage\1f83f536-4e40-425f-bafc-d9d63e46fe8e\20effd3a.png) Just replace your last backlash to forward slash and it will work ![xyz.png](:storage\1f83f536-4e40-425f-bafc-d9d63e46fe8e/20effd3a.png)

akshayshende129 avatar Feb 05 '19 03:02 akshayshende129

Fixed in https://github.com/BoostIO/Boostnote/pull/2835

ZeroX-DG avatar Feb 06 '19 01:02 ZeroX-DG