pod2rst-fix: \ in text paragraphs fixed.

This commit is contained in:
Ole Tange 2022-08-03 05:51:01 +02:00
parent 71c11e7fd2
commit 2849adb34d

View file

@ -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;
} }
} }