hugo-obsidian icon indicating copy to clipboard operation
hugo-obsidian copied to clipboard

fix: unescape target URL

Open yshalsager opened this issue 2 years ago • 3 comments

For URLs in non-ascii, the target name should un-escaped to be shown properly.

For example, before this commit, target written in Arabic "/البرمجة" is shown as /%D8%A7%D9%84%D8%A8%D8%B1%D9%85%D8%AC%D8%A9.

After this fix (last link at bottom right): image

yshalsager avatar Aug 22 '22 07:08 yshalsager

This is really weird, do you know if this page still shows up correctly? I remember running into the exact opposite issue and leaving it escaped was the only way to get it to render properly

image

jackyzha0 avatar Aug 24 '22 03:08 jackyzha0

This is really weird, do you know if this page still shows up correctly? I remember running into the exact opposite issue and leaving it escaped was the only way to get it to render properly

image

It does. image image

yshalsager avatar Aug 25 '22 11:08 yshalsager

image

This is what I see on upstream, some links seem to be lost

jackyzha0 avatar Aug 25 '22 14:08 jackyzha0