Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Inline images are not working as advertised #469

Open
4 tasks done
flobernd opened this issue Apr 23, 2024 · 0 comments
Open
4 tasks done

[Bug] Inline images are not working as advertised #469

flobernd opened this issue Apr 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@flobernd
Copy link

flobernd commented Apr 23, 2024

I confirm:

Hugo version

hugo v0.125.1-68c5ad638c2072969e47262926b912e80fd71a77+extended linux/amd64 BuildDate=2024-04-18T08:21:19Z

Where is this bug showing up?

In the browser: Hugo builds the site, but something doesn't look right.

Operating system

Docker

Browser (if applicable)

Firefox, Edge, ... (seems to affect all browsers)

Current behavior

Using the :inline modifier does not work as advertised:

![red wire:inline](local.png) +12V

170-187-max

The generated HTML looks like this:

<li>
  <figure class="inline">
  <picture>
    <img loading="lazy" decoding="async" alt="red wire" class="image_figure image_internal image_processed" width="20" height="20" src="/post/test-post/pin_red.png" data-pos="1"><figcaption class="img_alt">red wire</figcaption>
    </picture>
</figure>
 +12V</li>

Expected behavior

The image gets rendered inline as advertised.

Steps to reproduce

Use an image with the :inline style.

Relevant log output

No response

Related code

No response

Preferred solution

No response

Other information

No response

@flobernd flobernd added the bug Something isn't working label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant