You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
difflib-generated HTML file does not use monospaced font #131204
difflib.HtmlDiff.make_file writes an HTML file with a CSS rule specifying Courier as the font to use. On systems which don't have it installed, browsers may fall back to the system default font, which likely won't be monospaced.
changed the title [-]bug: `difflib`-generated HTML file does not use monospaced font[/-][+]`difflib`-generated HTML file does not use monospaced font[/+]on Mar 13, 2025
Activity
hugovk commentedon Mar 13, 2025
Shall we use the System Font Stack for better cross-platform support?
https://systemfontstack.com/
picnixz commentedon Mar 13, 2025
(I think we can consider it as a bugfix as it hinders readability)
[-]bug: `difflib`-generated HTML file does not use monospaced font[/-][+]`difflib`-generated HTML file does not use monospaced font[/+]gh-131204: Fix `difflib.HtmlDiff` may not use monospaced font (#131221)
[3.12] gh-131204: Fix `difflib.HtmlDiff` may not use monospaced font (G…
[3.13] gh-131204: Fix `difflib.HtmlDiff` may not use monospaced font (G…
[3.12] pythongh-131204: Fix `difflib.HtmlDiff` may not use monospaced…
pythongh-131204: Fix `difflib.HtmlDiff` may not use monospaced font (p…