mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Replace more escapes with quotes in man parser (#9961)
* Replace \(aq with "'" in man parser * Also replace oq, dq, lq, and rq
This commit is contained in:
parent
556bee6893
commit
0f19d7118b
1 changed files with 5 additions and 0 deletions
|
@ -260,7 +260,12 @@ def remove_groff_formatting(data):
|
||||||
data = data.replace(r"\-", "-")
|
data = data.replace(r"\-", "-")
|
||||||
data = data.replace(".I", "")
|
data = data.replace(".I", "")
|
||||||
data = data.replace("\f", "")
|
data = data.replace("\f", "")
|
||||||
|
data = data.replace(r"\(oq", "'")
|
||||||
data = data.replace(r"\(cq", "'")
|
data = data.replace(r"\(cq", "'")
|
||||||
|
data = data.replace(r"\(aq", "'")
|
||||||
|
data = data.replace(r"\(dq", '"')
|
||||||
|
data = data.replace(r"\(lq", '"')
|
||||||
|
data = data.replace(r"\(rq", '"')
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue