Skip to content

handle_lazy_image not called for nested images in static block #14312

Closed
@brunnerh

Description

@brunnerh

Describe the bug

Not sure if the call should be there, but for static images nested in a e.g. a static <div>, it's gone.

(Tested this in relation to changes from #14269, but if this behavior is wrong, it has been wrong before as well.)

Reproduction

<!-- No call -->
<div><img src="..." loading="lazy" /></div>

<!-- This would have the call: -->
<!-- <img src="..." loading="lazy" /> -->

Playground

Logs

No response

System Info

REPL

Severity

annoyance

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions