[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libreoffice
Subject:    [Bug 76291] FILESAVE: Chinese hyperlinks modified upon Saving
From:       bugzilla-daemon () bugs ! documentfoundation ! org (bugzilla-daemon at bugs ! documentfou
Date:       2015-01-29 10:34:47
Message-ID: bug-76291-19970-bNksAa1idV () http ! bugs ! documentfoundation ! org/
[Download RAW message or body]

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&amp;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>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic