https://bugs.documentfoundation.org/show_bug.cgi?id=99630
Bug ID: 99630
Summary: LO5 HTML editor does not split/merge lines in HTML to
fit max line size (as done in LO3 and LO4)
Product: LibreOffice
Version: 5.1.2.2 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 124790
--> https://bugs.documentfoundation.org/attachment.cgi?id=124790&action=edit
Files
How to reproduce
================
1) Start LO5 Web/HTML editor
2) Open file Test_GeneWolfeQuote-OriginalLO4.html
3) Save as to a new file (here Test_GeneWolfeQuote-OriginalLO5.html).
File diff
=========
--- Test_GeneWolfeQuote-OriginalLO4.html 2016-05-02 14:33:34.000000000 +0200
+++ Test_GeneWolfeQuote-OriginalLO5.html 2016-05-02 14:34:07.000000000 +0200
@@ -3,23 +3,29 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title></title>
- <meta name="generator" content="LibreOffice 4.3.3.2 (Linux)"/>
+ <meta name="generator" content="LibreOffice 5.1.2.2.0 (Linux)"/>
<meta name="created" content="00:00:00"/>
- <meta name="changed" content="2016-05-02T14:33:30.843347257"/>
+ <meta name="changed" content="00:00:00"/>
+ <meta name="created" content="00:00:00">
+ <meta name="changed" content="2016-05-02T14:33:30.843347257">
<style type="text/css">
p { color: #000000 }
</style>
</head>
-<body lang="en-IE" text="#000000" dir="ltr" style="background: transparent">
+<body lang="en-IE" text="#000000" dir="ltr">
<p><font face="Liberation Sans, sans-serif">Adolescents are simply
those people who haven't as yet chosen between childhood and
-adulthood.<br>For as long as anyone tries to hold on to the
+adulthood.<br/>
+For as long as anyone tries to hold on to the
advantages of childhood - the freedom from responsibility,
principally - while seeking to lay claim to the best parts of
adulthood, such as independence, he is an adolescent.
-[...]<br>Eventually most people choose to be adults, or are forced
+[...]<br/>
+Eventually most people choose to be adults, or are forced
into it. A very few retreat into childhood and never leave it
-again.<br>A large number remain adolescents for life.<br><i>(Gene
+again.<br/>
+A large number remain adolescents for life.<br/>
+<i>(Gene
Wolfe)</i></font></p>
</body>
</html>
\ No newline at end of file
Issue
=====
In the body, LO5 is updating the code; here changing <br> to <br/> and adding a
CR. (example "again.<br/>CR").
However, it does not update the following line, fitting to the max line size.
In fact, it keeps the original splitted "<i>(GeneCR" while it should merge it
with the next one, producing "<i>(Gene Wolfe)</i></font></p>CR".
The issue may seem only a minor code output... however editing the file
multiple times and adding continuously new CR (without merging the following
lines when possible) makes the output code really ugly.
I attach the two example files and I will be glad if you can fix it.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs