From c113745498d3547b012b19463b58050875d9bfd1 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 5 Mar 1998 17:00:55 +0000 Subject: [PATCH] For verbatim text, don't bounce down a size. --- Doc/perl/python.perl | 6 ++---- Doc/python.perl | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 2ea09e64767..f7531a5410a 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -366,8 +366,7 @@ sub make_str_index_entry{ # (Used with LaTeX2HTML 96.1*) sub replace_verbatim { # Modifies $_ - local($prefix,$suffix) = ("\n

\n",
-			      "
"); + local($prefix,$suffix) = ("\n

\n", "
"); s/$verbatim_mark(verbatim)(\d+)/$prefix$verbatim{$2}$suffix/go; s/$verbatim_mark(rawhtml)(\d+)/$verbatim{$2}/ego; # Raw HTML } @@ -375,8 +374,7 @@ sub replace_verbatim { # (Used with LaTeX2HTML 98.1) sub replace_verbatim_hook{ # Modifies $_ - local($prefix,$suffix) = ("\n

", - "
"); + local($prefix,$suffix) = ("\n

", "
"); s/$math_verbatim_rx/&put_comment("MATH: ".$verbatim{$1})/eg; s/$verbatim_mark(\w*[vV]erbatim\*?)(\d+)\#/$prefix$verbatim{$2}$suffix/go; # Raw HTML, but replacements may have protected characters diff --git a/Doc/python.perl b/Doc/python.perl index 2ea09e64767..f7531a5410a 100644 --- a/Doc/python.perl +++ b/Doc/python.perl @@ -366,8 +366,7 @@ sub make_str_index_entry{ # (Used with LaTeX2HTML 96.1*) sub replace_verbatim { # Modifies $_ - local($prefix,$suffix) = ("\n

\n",
-			      "
"); + local($prefix,$suffix) = ("\n

\n", "
"); s/$verbatim_mark(verbatim)(\d+)/$prefix$verbatim{$2}$suffix/go; s/$verbatim_mark(rawhtml)(\d+)/$verbatim{$2}/ego; # Raw HTML } @@ -375,8 +374,7 @@ sub replace_verbatim { # (Used with LaTeX2HTML 98.1) sub replace_verbatim_hook{ # Modifies $_ - local($prefix,$suffix) = ("\n

", - "
"); + local($prefix,$suffix) = ("\n

", "
"); s/$math_verbatim_rx/&put_comment("MATH: ".$verbatim{$1})/eg; s/$verbatim_mark(\w*[vV]erbatim\*?)(\d+)\#/$prefix$verbatim{$2}$suffix/go; # Raw HTML, but replacements may have protected characters