mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
parent
3f7e00b661
commit
b7983478e1
@ -1875,7 +1875,7 @@ def convert_dashligatures(document):
|
|||||||
flags=re.UNICODE):
|
flags=re.UNICODE):
|
||||||
has_literal_dashes = True
|
has_literal_dashes = True
|
||||||
# ligature dash followed by word or no-break space on next line:
|
# ligature dash followed by word or no-break space on next line:
|
||||||
if re.search(ur"(\\twohyphens|\\threehyphens)", line,
|
if re.search(u"(\\twohyphens|\\threehyphens)", line,
|
||||||
flags=re.UNICODE) and re.match(u"[\w\u00A0]",
|
flags=re.UNICODE) and re.match(u"[\w\u00A0]",
|
||||||
document.body[i+1], flags=re.UNICODE):
|
document.body[i+1], flags=re.UNICODE):
|
||||||
has_ligature_dashes = True
|
has_ligature_dashes = True
|
||||||
|
Loading…
Reference in New Issue
Block a user