https://bugs.freedesktop.org/show_bug.cgi?id=65925
Priority: medium
Bug ID: 65925
Keywords: regression
Assignee: [email protected]
Summary: FILESAVE: Ugly HTML code when changing capital letters
and bold text
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
Version: 4.0.0.3 release
Component: Writer
Product: LibreOffice
Created attachment 81056
--> https://bugs.freedesktop.org/attachment.cgi?id=81056&action=edit
Starting HTML file
Problem description:
Starting from this HTML text:
<BODY LANG="en-US" DIR="LTR">
<P>This is Black: great.<BR><FONT COLOR="#b84747">This is Colored:
why not.</FONT><BR>This is Black again: fine.</P>
</BODY>
and changing to bold and removing some capital letters, it produces this ugly
code:
<BODY LANG="en-US" DIR="LTR">
<P>This is <B>b</B><B>lack</B>: great.<BR><FONT COLOR="#b84747">This
is </FONT><FONT COLOR="#b84747"><B>c</B></FONT><FONT
COLOR="#b84747"><B>olored</B></FONT><FONT COLOR="#b84747">:
why not.</FONT><BR>This is Black again: fine.</P>
</BODY>
However, LO 3.5 (the best version so far in my opinion), did as expected:
<BODY LANG="en-US" DIR="LTR">
<P><B>This is black</B>: great.<BR><FONT COLOR="#b84747"><B>This is
colored</B></FONT><FONT COLOR="#b84747">: why not.</FONT><BR>This is
Black again: fine.</P>
</BODY>
I will attach the simple starting html file.
Steps to reproduce:
1. Open the starting html file with LO Writer/Html
2. Change "This is black" and "This is colored" to bold.
3. Change "Black" and "Colored" to lowercase.
4. Save to another html file.
Do you mind fixing it?
Operating System: All
Version: 4.0.0.3 release
Last worked in: 3.5.0 release
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs