mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
[3.13] gh-131204: Fix difflib.HtmlDiff
may not use monospaced font (GH-131221) (#131242)
(cherry picked from commit 7fd6160
)
This commit is contained in:
parent
a3ca70c527
commit
130fa4c94f
3 changed files with 3 additions and 2 deletions
|
@ -1628,7 +1628,7 @@ _file_template = """
|
|||
</html>"""
|
||||
|
||||
_styles = """
|
||||
table.diff {font-family:Courier; border:medium;}
|
||||
table.diff {font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace; border:medium}
|
||||
.diff_header {background-color:#e0e0e0}
|
||||
td.diff_header {text-align:right}
|
||||
.diff_next {background-color:#c0c0c0}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue