Details
Description
Importing office documents with special chars in file name breaks embedded images.
For example, I am creating a new page and importing an office document called "L3 Script - Local & Domain Admin Password Change Process.docx"
When the page is imported, images within the doc are created attached to the page based the file name:
L3 Script - Local & Domain Admin Password Change Process_html_<random>.png
However, in the wiki syntax of the page the "&" in the image link is encoded so the image is broken within the page:
[[image:L3 Script - Local &a mp; Domain Admin Password Change Process_html_m26c93286.png||alt="L3 Script - Local & Domain Admin Password Change Process_html_m26c93286.png" height="146" width="290"]]
Note the "&a mp;" (I put a space since it gets converted here..)
Manually editing the link and re-specifying the attachment resolves the issue, but on large documents with many images this is cumbersome.
Attachments
Issue Links
- depends on
-
XCOMMONS-1551 HtmlCleaner shouldn't transform content when creating a Document
- Closed
- relates to
-
XWIKI-14692 Office viewer fails in some installations for word documents with an accent in the name
- Closed
-
XWIKI-15031 Move to sbraconnier's JODConverter
- Closed