Skip to content

Commit

Permalink
roffit: convert backslash-e to \
Browse files Browse the repository at this point in the history
Bug: curl/curl#9418
Reported-by: Samuel Henrique

Closes #26
  • Loading branch information
bagder committed Sep 2, 2022
1 parent 8d06507 commit 56e1424
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roffit
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,9 @@ sub parsefile {
$txt =~ s/\\\(cq/&apos\;/g;
$txt =~ s/\\\(dq/&quot\;/g;

# \e is the "escape character", defaults to backslash
$txt =~ s/\\e/\/g;

$txt = handle_italic_bold $txt;

# replace backslash [something] with just [something]
Expand Down

0 comments on commit 56e1424

Please sign in to comment.