Commit c1137454 authored by Fred Drake's avatar Fred Drake

For verbatim text, don't bounce down a size.

parent 56896dd5
...@@ -366,8 +366,7 @@ sub make_str_index_entry{ ...@@ -366,8 +366,7 @@ sub make_str_index_entry{
# (Used with LaTeX2HTML 96.1*) # (Used with LaTeX2HTML 96.1*)
sub replace_verbatim { sub replace_verbatim {
# Modifies $_ # Modifies $_
local($prefix,$suffix) = ("\n<p><dl><dd><pre><font size=-1>\n", local($prefix,$suffix) = ("\n<p><dl><dd><pre>\n", "</pre></dl>");
"</font></pre></dl>");
s/$verbatim_mark(verbatim)(\d+)/$prefix$verbatim{$2}$suffix/go; s/$verbatim_mark(verbatim)(\d+)/$prefix$verbatim{$2}$suffix/go;
s/$verbatim_mark(rawhtml)(\d+)/$verbatim{$2}/ego; # Raw HTML s/$verbatim_mark(rawhtml)(\d+)/$verbatim{$2}/ego; # Raw HTML
} }
...@@ -375,8 +374,7 @@ sub replace_verbatim { ...@@ -375,8 +374,7 @@ sub replace_verbatim {
# (Used with LaTeX2HTML 98.1) # (Used with LaTeX2HTML 98.1)
sub replace_verbatim_hook{ sub replace_verbatim_hook{
# Modifies $_ # Modifies $_
local($prefix,$suffix) = ("\n<p><dl><dd><font size=-1>", local($prefix,$suffix) = ("\n<p><dl><dd>", "</dl>");
"</font></dl>");
s/$math_verbatim_rx/&put_comment("MATH: ".$verbatim{$1})/eg; s/$math_verbatim_rx/&put_comment("MATH: ".$verbatim{$1})/eg;
s/$verbatim_mark(\w*[vV]erbatim\*?)(\d+)\#/$prefix$verbatim{$2}$suffix/go; s/$verbatim_mark(\w*[vV]erbatim\*?)(\d+)\#/$prefix$verbatim{$2}$suffix/go;
# Raw HTML, but replacements may have protected characters # Raw HTML, but replacements may have protected characters
......
...@@ -366,8 +366,7 @@ sub make_str_index_entry{ ...@@ -366,8 +366,7 @@ sub make_str_index_entry{
# (Used with LaTeX2HTML 96.1*) # (Used with LaTeX2HTML 96.1*)
sub replace_verbatim { sub replace_verbatim {
# Modifies $_ # Modifies $_
local($prefix,$suffix) = ("\n<p><dl><dd><pre><font size=-1>\n", local($prefix,$suffix) = ("\n<p><dl><dd><pre>\n", "</pre></dl>");
"</font></pre></dl>");
s/$verbatim_mark(verbatim)(\d+)/$prefix$verbatim{$2}$suffix/go; s/$verbatim_mark(verbatim)(\d+)/$prefix$verbatim{$2}$suffix/go;
s/$verbatim_mark(rawhtml)(\d+)/$verbatim{$2}/ego; # Raw HTML s/$verbatim_mark(rawhtml)(\d+)/$verbatim{$2}/ego; # Raw HTML
} }
...@@ -375,8 +374,7 @@ sub replace_verbatim { ...@@ -375,8 +374,7 @@ sub replace_verbatim {
# (Used with LaTeX2HTML 98.1) # (Used with LaTeX2HTML 98.1)
sub replace_verbatim_hook{ sub replace_verbatim_hook{
# Modifies $_ # Modifies $_
local($prefix,$suffix) = ("\n<p><dl><dd><font size=-1>", local($prefix,$suffix) = ("\n<p><dl><dd>", "</dl>");
"</font></dl>");
s/$math_verbatim_rx/&put_comment("MATH: ".$verbatim{$1})/eg; s/$math_verbatim_rx/&put_comment("MATH: ".$verbatim{$1})/eg;
s/$verbatim_mark(\w*[vV]erbatim\*?)(\d+)\#/$prefix$verbatim{$2}$suffix/go; s/$verbatim_mark(\w*[vV]erbatim\*?)(\d+)\#/$prefix$verbatim{$2}$suffix/go;
# Raw HTML, but replacements may have protected characters # Raw HTML, but replacements may have protected characters
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment