blogifierdotnet / Blogifier

Blogifier is an open-source publishing platform Written in ASP.NET and Blazor WebAssembly. With Blogifier make a personal blog or a website.
https://blogifier.net
MIT License
1.26k stars 516 forks source link

Missing slash (/) in image source content? #251

Closed gstars271 closed 3 years ago

gstars271 commented 3 years ago

Hi there,

I'm trying to use the current version of Blogifier (with Blazor).

After posting new blog, the image has been inserted in content could not be displayed. I've checked on HTML source and found the image source has missed the first slash (/). Ex: the HTML rendered when insert the image as below: <img src="data/1/2021/2/141581086_205788864572628_628944058773057121_o.jpg" alt="data/1/2021/2/141581086_205788864572628_628944058773057121_o.jpg">

and it can not show the image. After I add the slash in the beginning, the image display normally: <img src="/data/1/2021/2/141581086_205788864572628_628944058773057121_o.jpg" alt="data/1/2021/2/141581086_205788864572628_628944058773057121_o.jpg">