[Bug 76291] FILESAVE: Chinese hyperlinks modified upon Saving
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 29 02:34:47 PST 2015
https://bugs.documentfoundation.org/show_bug.cgi?id=76291
Stephan Bergmann <sbergman at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sbergman at redhat.com
--- Comment #7 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to Kevin Suo from comment #4)
> The link changed to
> http://www.youtube.com/results?search_query=粵語mv&sm=12
LO internally converts a URI entered into the Hyperlink dialog into an IRI (cf.
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=abb5e84c74b781f3615862695db4e5eaadc12cfe>
"Do not corrupt URIs entered into the Hyperlink dialog"). It is written out as
an IRI at least into ODT documents (and XLink allows for IRIs, so that appears
to be OK). But at least the HTML 4.01 spec appears to only allow for URIs, not
IRIs, in <a href="...". So it's probably good to explicitly convert from IRI
to URI upon exporting at least to HTML (as proposed in
<https://gerrit.libreoffice.org/#/c/14223>), short of revisiting the decision
to store as IRI rather than URI internally in LO.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150129/42922f4a/attachment.html>
More information about the LibreOffice
mailing list