mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Minor fixes
This commit is contained in:
parent
c9be8bff74
commit
01af66d658
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user