From 88f9ed7759bd4bbe08da6f3eba5961060bd364cc Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Mon, 24 Dec 2018 11:31:48 +0100 Subject: rebase_hrefs: store IRI (UTF-8), not URI (ASCII) --- src/xml/rebase-hrefs.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/xml/rebase-hrefs.cpp') diff --git a/src/xml/rebase-hrefs.cpp b/src/xml/rebase-hrefs.cpp index 36f8b7065..c93fba380 100644 --- a/src/xml/rebase-hrefs.cpp +++ b/src/xml/rebase-hrefs.cpp @@ -201,6 +201,8 @@ void Inkscape::XML::rebase_hrefs(SPDocument *const doc, gchar const *const new_b } auto href_str = url.str(new_base_url_str.c_str()); + href_str = Inkscape::uri_to_iri(href_str.c_str()); + ir->setAttribute("xlink:href", href_str); } -- cgit v1.2.3