mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 22:56:15 +01:00
Escape ' at the begining of the line as it is command marker for roff.
This commit is contained in:
parent
4e30d9f946
commit
eda5e9c38c
@ -124,6 +124,7 @@ MAN_REPLACES = [
|
||||
(re.compile(r'(^|[ \t\[\'])-([^/ \t-]*)-([^/ \t-]*)($|[ \t=\]\'])'), r'\1\-\2\-\3\4'),
|
||||
(re.compile(r'(^|[ \t\[\'])--([^/ \t-]*)($|[ \t=\]\'])'), r'\1\-\-\2\3'),
|
||||
(re.compile(r'(^|[ \t\[\'])-([^/ \t-]*)($|[ \t=\]\'])'), r'\1\-\2\3'),
|
||||
(re.compile(r"^'"), r" '"),
|
||||
]
|
||||
|
||||
def man_escape(text):
|
||||
|
Loading…
Reference in New Issue
Block a user