mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Clean up the application of style to verbatim text.
This moves styling to the stylesheet; the use of <dl> structures to control style sometimes produced improper indentation of subsequent text in many browsers when the text was already part of the <dl> structure (as in a function or class description).
This commit is contained in:
parent
eeb5ec42e0
commit
8a5e6790d9
3 changed files with 10 additions and 8 deletions
|
@ -577,7 +577,7 @@ sub set_depth_levels {
|
|||
# initialize() is called in the main LaTeX2HTML script (which happens
|
||||
# before style files are loaded).
|
||||
#
|
||||
%declarations = ('preform' => '<dl><dd><pre class="verbatim"></pre></dl>',
|
||||
%declarations = ('preform' => '<div class="verbatim"><pre></pre></div>',
|
||||
%declarations);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue