I discovered a new bug, this time in Bibi Reader and with svg images.
When I inserted a svg image by using the <img> tag, Bibi was able to displayed without problem:
But when I wanted to insert the same image but with a svg wrapper, I got the following output:
Since the same image was able to be displayed without issue by using a img tag, evidently Bibi could show svg images and I supposed that the problem should be in the svg wrapper. Then I tried with a png image (with the same draw as the svg one) inside a svg wrapper to see what would happen:
Since Bibi was able to show png images inside a svg wrapper, the problem wasn't in the wrapper. Evidently, the issue was in that Bibi couldn't find the svg image. (Below I attach the respective epub).
So, after opening Bibi.js I found and I changed the following statements:
This:
Code:
{Attribute:"src|xlink:href",Extensions:"gif|png|jpe?g"}
is replaced by:
Code:
{Attribute:"src|xlink:href",Extensions:"gif|png|jpe?g|svg"}
and this:
Code:
{Attribute:"src|xlink:href",Extensions:"gif|png|jpe?g|mp([34]|e?g)|m4[av]"}
is replaced by:
Code:
{Attribute:"src|xlink:href",Extensions:"gif|png|jpe?g|svg|mp([34]|e?g)|m4[av]"}
After those changes, Bibi was able to display svg images also inside a svg wrappers. I report this, because maybe you Kevin can include these changes in future releases of Bibi plugin.