Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d37154f commit 41aa018Copy full SHA for 41aa018
1 file changed
Doc/perl/python.perl
@@ -2022,9 +2022,12 @@ sub do_env_alltt{
2022
$_ = &translate_environments($_);
2023
$_ = &translate_commands($_) if (/\\/);
2024
2025
- # preserve space-runs, using
2026
- while (s/(\S) ( +)/$1$2;SPMnbsp;/g){};
2027
- s/(<BR>) /$1;SPMnbsp;/g;
+ # remove spurious <BR> someone sticks in; not sure where they
+ # actually come from
+ # XXX the replacement space is there to accomodate something
2028
+ # broken that inserts a space in front of the first line of
2029
+ # the environment
2030
+ s/<BR>/ /gi;
2031
2032
$_ = join('', $closures, $alltt_start, $local_reopens
2033
, $_
0 commit comments