From 154ceb6340f5e45a37ad8c709b5ae917b3060817 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 4 Jul 2017 12:57:19 +0530 Subject: [PATCH] ... --- manual/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/custom.py b/manual/custom.py index 149ba57752..e769d97c38 100644 --- a/manual/custom.py +++ b/manual/custom.py @@ -240,7 +240,7 @@ def render_options(cmd, groups, options_header=True, add_program=True, header_le def mark_options(raw): if 'CALIBRE_BUILD_MAN_PAGES' not in os.environ: - raw = re.sub(r'(\s+)--(\s+)', ur'\1-\u200b-\2', raw) + raw = re.sub(r'(\s+)--(\s+)', ur'\1-\N{ZERO WIDTH SPACE}-\2', raw) def sub(m): opt = m.group()