From: Richard Kimberly Heck Date: Sat, 3 Nov 2018 14:00:48 +0000 (-0400) Subject: Minor fixes X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2937 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=01af66d6583e5529f36a33b22d61851b6318cf21;p=features.git Minor fixes --- diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py index 1a06514739..73fbdf66e7 100644 --- a/lib/lyx2lyx/lyx_2_4.py +++ b/lib/lyx2lyx/lyx_2_4.py @@ -1389,13 +1389,13 @@ def convert_hebrew_parentheses(document): current_language = line[len('\\lang '):] elif line.startswith('\\end_layout'): current_language = document.language - if current_language == 'hebrew' and not line.startswith('\\'): + elif current_language == 'hebrew' and not line.startswith('\\'): document.body[i] = line.replace('(','\x00').replace(')','(').replace('\x00',')') def revert_hebrew_parentheses(document): " Store parentheses in Hebrew text reversed" - # This only exists to keep the convert/revert nameing convention + # This only exists to keep the convert/revert naming convention convert_hebrew_parentheses(document)