From 85217b55e0253e3ee090d4a9435adf91d7a86160 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 29 Mar 2020 14:09:06 +0000 Subject: [PATCH] contentcollector: pasting an OL in Chrome inserted an additional line break. Fixed. This comments out some code that was probably a quirk from ie6 era. See PR: https://github.com/ether/etherpad-lite/issues/2412 Fixes #2412. --- src/static/js/contentcollector.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/static/js/contentcollector.js b/src/static/js/contentcollector.js index d3bd73383..7e169170b 100644 --- a/src/static/js/contentcollector.js +++ b/src/static/js/contentcollector.js @@ -655,7 +655,8 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas { if (lines.length() - 1 == startLine) { - cc.startNewLine(state); + // commented out to solve #2412 - https://github.com/ether/etherpad-lite/issues/2412 + // cc.startNewLine(state); } else {