This Extra explanation for the previous issue: the image and the text came in the same paragraph they are in <p>. <img> in <p> is not supported so my code detach the img and replace it's parent tag to <div> .sometimes the img comes first in the <p> then the text like this case or the opposite.When I extract the image I use @after_el so the image came after the text in this case.
Log in here to create Instant View templates. Please enter your phone number in the international format and we will send a confirmation message to your account via Telegram.
the image and the text came in the same paragraph they are in <p>.
<img> in <p> is not supported so my code detach the img and replace it's parent tag to <div> .sometimes the img comes first in the <p> then the text like this case or the opposite.When I extract the image I use @after_el so the image came after the text in this case.
It is still readable anyway.