Hourglass

Hourglass

1M Downloads

Malformed `<img>` in `<a>` in description page on Modrinth

James103 opened this issue ยท 1 comments

commented

The description page on Modrinth for this mod has a malformed <img> in <a> at the top which should display the logo.
As a result, only a link to the image is displayed instead of the image itself.

Inspecting the raw HTML, I find the following:

<a href="https://raw.githubusercontent.com/DuckyCrayfish/hourglass/main/res/logo-wide-588x256.png">
<img src alt="Hourglass Logo" width="550">
</a>

The HTML should be:

<img src="https://raw.githubusercontent.com/DuckyCrayfish/hourglass/main/res/logo-wide-588x256.png" alt="Hourglass Logo" width="550">
Expected visual output (click to expand): Hourglass Logo
commented

Oops, it seems that when I copied the banner from the README I accidentally replaced the <a> tag's href with the new image link instead of the <img> tag, as you may have suspected:

<a href="https://raw.githubusercontent.com/DuckyCrayfish/hourglass/main/res/logo-wide-588x256.png">
   <img src="res/logo/logo-wide-588x256.png" alt="Hourglass Logo" width="550">
</a>

Good catch, fixed.