Skip to content

Commit

Permalink
fix: Turn '\ ' into ' '
Browse files Browse the repository at this point in the history
  • Loading branch information
ysthakur committed Oct 28, 2023
1 parent 24dd44a commit fd38364
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/parse/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub fn remove_groff_formatting(data: &str) -> String {
.replace(r"\^", "")
.replace("{ ", "")
.replace(" }", "")
.replace(r"\ ", "")
.replace(r"\ ", " ")
.replace(r"\-", "-")
.replace(r"\&", "")
.replace(".B", "")
Expand Down
2 changes: 1 addition & 1 deletion tests/resources/expected/_test1.bash

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion tests/resources/expected/_test1.zsh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tests/resources/expected/test1.nu

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions tests/resources/in/man1/test1-sub2.1

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fd38364

Please sign in to comment.