Bug 107802

Summary: Copy from Writer then paste to Blogger.com(Blogspot) – formatting is not maintained, poor quality HTML/CSS
Product: LibreOffice Reporter: 2184799 <a2184799>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTOURBUG    
Severity: normal CC: ilmari.lauhakangas
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: After pasting on Blogger.com(Blogspot) from LibreOffice Writer

Description 2184799 2017-05-12 16:21:45 UTC
Created attachment 133271 [details]
After pasting on Blogger.com(Blogspot) from LibreOffice Writer

How To Reproduce:

1. Write 4 lines or more of text (one or a few words each line);
2. Select these 4 or more lines and align them to center;
3. Leave some space, write a paragraph, select the paragraph, then select (type) a custom font size of "19";
4. Select all (CRTL+A), then Copy;
5. Make a new post on Blogger.com(Blogspot), then paste everything from LibreOffice Writer.


Expected: The whole text should maintain the exact formatting.

Actual: The centered text on multiple lines (such as a title) gets messed up and the paragraph font size is inaccurately transposed in HTML. The whole formatting is not maintained exactly when translating to HTML.


See the attachment.
LibreOffice Writer generates poor quality HTML/CSS code.
Comment 1 2184799 2017-05-12 20:12:22 UTC
Browser used when pasting to Blogger.com: Mozilla Firefox 53.0 running on Ubuntu.
Comment 2 Buovjaga 2017-05-14 16:58:37 UTC
This is the responsibility of Blogger (adapting the input). Closing.