Nokogiri cannot parse HTML attributes in some scenarios.
When Theme Check handles template fragments like this, Nokogiri cannot loading recognise the tag attributes.
<img {{ "something" }}loading="lazy">
A naive approach for solving this is appending an empty character after the "≬#####≬" placeholder, however while it seems right, it impacts other parts of the codebase. Thus, I'm still validating this approach.
Nokogiri cannot parse HTML attributes in some scenarios.
When Theme Check handles template fragments like this, Nokogiri cannot loading recognise the tag attributes.
A naive approach for solving this is appending an empty character after the
"≬#####≬"
placeholder, however while it seems right, it impacts other parts of the codebase. Thus, I'm still validating this approach.