commit 32c6724fd662b8a147394e163cb2f0fc8a7f2475
Author: Kornel Benko <[email protected]>
Date:   Thu Dec 6 14:18:24 2018 +0100

    FindAdv: Amend cd941804
    
    Revert changes in Paragraph.cpp
---
 src/Paragraph.cpp |   14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 329bbfd..5bad896 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -1297,17 +1297,9 @@ void Paragraph::Private::latexSpecialChar(otexstream & 
os,
                column += 14;
                break;
 
-       case '&':
-       case '%': case '#':
-       case '_':
-               if (runparams.for_search) {
-                       os.put(c);
-                       column += 1;
-                       break;
-               }
-               // fall through
-       case '$':
-       case '{': case '}':
+       case '$': case '&':
+       case '%': case '#': case '{':
+       case '}': case '_':
                os << '\\';
                os.put(c);
                column += 1;

Reply via email to