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:
ysthakur 2023-08-19 11:10:22 -04:00 committed by GitHub
parent 556bee6893
commit 0f19d7118b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -260,7 +260,12 @@ def remove_groff_formatting(data):
data = data.replace(r"\-", "-")
data = data.replace(".I", "")
data = data.replace("\f", "")
data = data.replace(r"\(oq", "'")
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