From 8a5e6790d959cac49ab66cf4973b6ab6c3f397fd Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Mon, 15 Apr 2002 18:41:31 +0000 Subject: Clean up the application of style to verbatim text. This moves styling to the stylesheet; the use of
structures to control style sometimes produced improper indentation of subsequent text in many browsers when the text was already part of the
structure (as in a function or class description). --- Doc/perl/python.perl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Doc/perl/python.perl') diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 5da971059a3..e8a4d470891 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -1915,8 +1915,8 @@ withsubitem # {} # {} _RAW_ARG_DEFERRED_CMDS_ -$alltt_start = '
';
-$alltt_end = '
'; +$alltt_start = '
';
+$alltt_end = '
'; sub do_env_alltt { local ($_) = @_; @@ -2008,12 +2008,12 @@ sub do_cmd_verbatiminput{ else { $text = 'Could not locate requested file $fname!\n'; } - return ('
'
+    return ("
\n
"
             . $text
-            . "
\n
\n" + . "
\n
\n" . "Download as text." - . "\n
\n
" + . "\n" . $_); } -- cgit v1.2.3