Index: src/Bidi.cpp
===================================================================
--- src/Bidi.cpp	(Revision 18626)
+++ src/Bidi.cpp	(Arbeitskopie)
@@ -95,7 +95,11 @@
 	pos_type const body_pos = par.beginOfBody();
 
 	for (pos_type lpos = start_; lpos <= end_; ++lpos) {
-		bool is_space = par.isLineSeparator(lpos);
+		bool is_space = false;
+		// We do not handle spaces around an RTL segment in a special way anymore.
+		// Neither does LaTeX, so setting is_spacs to false makes the view in LyX
+		// consistent with the output of LaTeX later. The old setting was:
+		// is_space = par.isLineSeparator(lpos);
 		pos_type const pos =
 			(is_space && lpos + 1 <= end_ &&
 			 !par.isLineSeparator(lpos + 1) &&
