mirror of https://github.com/tLDP/LDP
make that gracefully
This commit is contained in:
parent
7a3ebe0820
commit
d2b79d0dfd
|
@ -127,6 +127,15 @@ sub proc_txt {
|
|||
while ($line =~ /^=== /) {
|
||||
$line =~ s/^=== /^===/;
|
||||
}
|
||||
while ($line =~ / =$/) {
|
||||
$line =~ s/ =$/=$/;
|
||||
}
|
||||
while ($line =~ / ==$/) {
|
||||
$line =~ s/ ==$/==$/;
|
||||
}
|
||||
while ($line =~ / ===$/) {
|
||||
$line =~ s/ ===$/===$/;
|
||||
}
|
||||
|
||||
if ($line =~ /^=\w/) {
|
||||
&close1;
|
||||
|
|
Loading…
Reference in New Issue