diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-11-19 09:51:36 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-12-30 09:01:59 +0100 |
commit | 4dab08d7dd70d87aa737248442a3c9fe1a68cc2c (patch) | |
tree | 7d51dd07f65a25fef5404462f861c9e3dea03290 /sw/qa/uitest/findReplace/findSimilarity.py | |
parent | 3bf767b1312cd691d9f7d59f661f43c60998c728 (diff) |
lok: don't limit line length in HTMLWriter
Problem:
https://github.com/CollaboraOnline/online/issues/3645
Test case:
1. Open Collabora Online and paste "Alphabet" section from
wikipedia article: https://en.wikipedia.org/wiki/Estonian_language#Alphabet
2. Select last two sentences (starting from "The letter")
3. Open Insert -> Hyperlink dialog
Result: notice that some spaces was removed/converted into new line
Expected: Text field should contain original text
Hyperlink dialog uses current selection which is get as HTML from the
core.
In the SwHTMLWriter there is a parameter defining how long
line should be and it replaces ' ' space into '\n' new line
when limit is reached.
This patch turns off that feature but only for getting html
for current selection in LOK case.
For now don't remove new line at the beginning as cypress has to
be fixed first. Added FIXME in the code.
Change-Id: I03b540b0b2d639a08774ecc4fc75abb7b3f0b7a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125482
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127680
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sw/qa/uitest/findReplace/findSimilarity.py')
0 files changed, 0 insertions, 0 deletions