[LyX/2.3.x] Fix erroneous space in output caused by changebar module (bug 11473)

Juergen Spitzmueller spitz at lyx.org
Mon Jan 27 07:21:43 UTC 2020


commit 6c3e7d2a47730e82ec1580042aaa9995b7526d6f
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Mon Jan 27 08:39:18 2020 +0100

    Fix erroneous space in output caused by changebar module (bug 11473)
---
 lib/layouts/changebars.module |    6 +++---
 status.23x                    |    2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/lib/layouts/changebars.module b/lib/layouts/changebars.module
index 0693d45..92e79cc 100644
--- a/lib/layouts/changebars.module
+++ b/lib/layouts/changebars.module
@@ -20,10 +20,10 @@ AddToPreamble
   \usepackage{changebar}
   \providecommand{\lyxadded}[3]{}
   \providecommand{\lyxdeleted}{}
-  \renewcommand{\lyxadded}[3]{
-    {\protect\cbstart\color{lyxadded}{}#3\protect\cbend}
+  \renewcommand{\lyxadded}[3]{%
+    {\protect\cbstart\color{lyxadded}{}#3\protect\cbend}%
   }
   \renewcommand{\lyxdeleted}[3]{%
-    {\protect\cbstart\color{lyxdeleted}\sout{#3}\protect\cbend}
+    {\protect\cbstart\color{lyxdeleted}\sout{#3}\protect\cbend}%
   }
 EndPreamble
diff --git a/status.23x b/status.23x
index 095d2c5..7b2e2a9 100644
--- a/status.23x
+++ b/status.23x
@@ -47,6 +47,8 @@ What's new
 - Fix problems with recent LaTeX when \input at path contains tilde and space
   (bug 11699).
 
+- Fix erroneous space in output caused by changebar module (bug 11473).
+
 
 * USER INTERFACE
 


More information about the lyx-cvs mailing list