mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-20 14:12:20 -04:00
...
This commit is contained in:
+1
-2
@@ -236,8 +236,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-\N{ZERO WIDTH SPACE}-\2', raw)
|
||||
raw = re.sub(r'(\s+)--(\s+)', ur'\1``--``\2', raw)
|
||||
|
||||
def sub(m):
|
||||
opt = m.group()
|
||||
|
||||
Reference in New Issue
Block a user