Bug 1108594 - a file produced by writer/web has become impossible to edit on source lvl if it contains an image
Summary: a file produced by writer/web has become impossible to edit on source lvl if ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: libreoffice
Version: 20
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-12 09:52 UTC by Gerard van der Veen
Modified: 2015-01-06 11:08 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-01-06 11:08:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
the file resulting from step 2 (137.39 KB, text/html)
2014-06-12 09:52 UTC, Gerard van der Veen
no flags Details


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 79730 0 None None None Never

Description Gerard van der Veen 2014-06-12 09:52:52 UTC
Created attachment 908038 [details]
the file resulting from step 2

Description of problem:
Until recent a .html file created/edited by writer/web would include an image by referencing the relative path to the image file. This has been modified as to contain the whole image, png encoded, in the .html file. The consequence is that the .html file can no more be edited on source level (lines too long).
The source level editor included in writer/web will accept modification without warning but the resulting file will be corrupted. (external editors like Bluefish or Kwrite will give a warning).
The need for editing on source level is evident: with the wysiwyg editor one can not add javascript for instance.

Version-Release number of selected component (if applicable):
4.2.4.2

How reproducible:
100%

Steps to Reproduce:
1.create a new document of type .html, include a table and put in one cell some texte and in another cell an image (Insert - From a file)
2.select Display mode - Source html, modify just slightly the texte, write the file to disk and close the file
3.re-open the file in Display mode Web layout, the texte is OK, but the image is displayed in miniature plus raw code

Actual results:
the file is corrupted


Expected results:
the display as in step one with only the modification made in step 2 as difference

Additional info:
the .html file created in step 1, when saved before step 2 can not be read by libreoffice 3.4.6 (which I use currently in an old partition as bypass for this problem)


Note You need to log in before you can comment on or make changes to this bug.