After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786277 - SVG Image href does not return epub uri with get_current_with_epub_uris()
SVG Image href does not return epub uri with get_current_with_epub_uris()
Status: RESOLVED FIXED
Product: libgepub
Classification: Other
Component: general
0.5
Other Linux
: Normal normal
: ---
Assigned To: libgepub Maintainer(s)
libgepub Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-08-14 12:57 UTC by Eddy Castillo
Modified: 2017-08-15 17:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
epub file with svg image tag (989.56 KB, application/epub+zip)
2017-08-14 12:57 UTC, Eddy Castillo
  Details
Fixed SVG image resource replacement (3.07 KB, patch)
2017-08-15 17:06 UTC, Daniel Garcia
none Details | Review

Description Eddy Castillo 2017-08-14 12:57:47 UTC
Created attachment 357552 [details]
epub file with svg image tag

When using svg within the xhtml body with image tags, those don't return uris like 'epub:///' in their href attributes.

Example:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="100%" width="100%" version="1.1" preserveAspectRatio="xMidYMid meet" viewBox="0 0 500 500"><image xlink:href="../Images/image.png" width="500" height="500"/></svg>

See the file attached.
Comment 1 Daniel Garcia 2017-08-15 17:06:14 UTC
Created attachment 357659 [details] [review]
Fixed SVG image resource replacement