https://bugs.freedesktop.org/show_bug.cgi?id=51034

             Bug #: 51034
           Summary: FILESAVE: # in hyperlink corrupts docx file
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.4 release
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
 Status Whiteboard: BSA
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: libreoffice-bugs@lists.freedesktop.org
        ReportedBy: stefan.ko...@gmail.com


Created attachment 62962
  --> https://bugs.freedesktop.org/attachment.cgi?id=62962
produces corrupt docx file

Problem description: 
If character # is contained in the hyperlink, saving the file to docx corrupts
the whole file.

Steps to reproduce:
1. open lowriter
2. write: www.google.com/#a
3. press enter -> this produces hyperlink
4. save as DOCX
5. docx file cannot be opened with msoffice, calligraoffice ...
6. if we open the docx file the text after the link is not visible

with ODT everything works. 


Browser: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0

Example of xml from docx:
<w:r><w:instrText> HYPERLINK &quot;http://Www.google.com/&quot; \l
&quot;a&quot;</w:instrText></w:r><w:r><w:fldChar
w:fldCharType="separate"/></w:r><w:r><w:rPr><w:rStyle
w:val="style15"/></w:rPr><w:t>Www.google.com/#a</w:t></w:r><w:r><w:fldChar
w:fldCharType="end"/></w:r></w:hyperlink></w:p>

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to