mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 14:07:55 +00:00
pod2rst-fix: \ in text paragraphs fixed.
This commit is contained in:
parent
71c11e7fd2
commit
2849adb34d
|
@ -66,6 +66,13 @@ sub pre1 {
|
||||||
/^\#/ and next;
|
/^\#/ and next;
|
||||||
# quote -
|
# quote -
|
||||||
s/^=item -/=item \001/;
|
s/^=item -/=item \001/;
|
||||||
|
|
||||||
|
if(/^ /) {
|
||||||
|
# ignore source blocks
|
||||||
|
} else {
|
||||||
|
# \\ => \
|
||||||
|
s/\\/\\\\/g;
|
||||||
|
}
|
||||||
print;
|
print;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue