diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2018-12-24 10:31:48 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2018-12-24 10:46:21 +0000 |
| commit | 88f9ed7759bd4bbe08da6f3eba5961060bd364cc (patch) | |
| tree | 9443d7d98070a5fabb7986b25e8df465cb952894 /src/xml/rebase-hrefs.cpp | |
| parent | fix get_filename with locale!=NULL (diff) | |
| download | inkscape-88f9ed7759bd4bbe08da6f3eba5961060bd364cc.tar.gz inkscape-88f9ed7759bd4bbe08da6f3eba5961060bd364cc.zip | |
rebase_hrefs: store IRI (UTF-8), not URI (ASCII)
Diffstat (limited to 'src/xml/rebase-hrefs.cpp')
| -rw-r--r-- | src/xml/rebase-hrefs.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |
