summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2021-11-19 12:38:18 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2023-02-07 12:13:37 +0000
commitf30a8f6cb9a755d3ac73c2aafc2f71a0bb0d0369 (patch)
treedfa1580c966a67220cec33eac709405c1e2ce777 /offapi
parent52ff5cf6c289bc187dc7987e86496a6c07e26ca3 (diff)
lok: don't pretty print html for online
followup for "lok: don't limit line length in HTMLWriter" Pretty printing makes html more readable for human but introduces lots of new line marks which are later interpreted in the client as a valid new lines in the document content. This was causing multiplying the line breaks when inserting hyperlinks where we read current selection's content and then we pass it back to the core as link's content (with added new lines). This change needs cypress change to not contain "\n" at the beginning of some content read from the document. This also afects copying from the online document to clipboard. Change-Id: I2b17d62398d947fcf1d3fb1ed6005c3063d114f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136893 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Henry Castro <hcastro@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146580 Tested-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'offapi')
0 files changed, 0 insertions, 0 deletions