diff --git a/copyparty/__version__.py b/copyparty/__version__.py index c434d75a..c67474ac 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (0, 6, 0) +VERSION = (0, 6, 1) CODENAME = "CHRISTMAAAAAS" -BUILD_DT = (2020, 12, 1) +BUILD_DT = (2020, 12, 14) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/web/md2.js b/copyparty/web/md2.js index 93b6d715..d78594e2 100644 --- a/copyparty/web/md2.js +++ b/copyparty/web/md2.js @@ -660,6 +660,10 @@ function md_backspace() { if (/^\s*$/.test(left)) return true; + // same if selection + if (o0 != dom_src.selectionEnd) + return true; + // same if line is all-whitespace or non-markup var v = m[0].replace(/[^ ]/g, " "); if (v === m[0] || v.length !== left.length)