- Ilya Borovik
- IV parser somehow destroys image captions in <span class="onderschrift"> inside <span class="imagecontainer">
I handle <span class="imagecontainer"> with captions inside in template but here they are gone :(
In recent articles website stores captions and cite inside @data-onderschrift and @data-fotograaf
(for example, see here: https://www.naturetoday.com/nl/nl/nature-reports/message/?msg=25033)
Looks like in 2014 they did not use these attributes. The caption is still present in @alt, but it may be not a safe solution. We can't be sure that @alt is always a caption and not any other text.
p.s. personally to admins:
Interesting to know why captions inside <span>s are lost after parsing the page. Is it a bug in IV parser?
- Declined by admin
- They aren't lost. There are no captions in the source, they're loaded by JS from alt.
But it doesn't matter. 2014 is an ancient lore.
- Type of issue
- IV page is missing essential content
- Apr 18, 2019