Skip to content

Lower-case hex-color #874

Open
Open
@Winand

Description

@Winand

I cannot find an information if tidylib always converts hex-color to upper case. Is it inevitable or there's an option? I just want to leave the value as is.

D:\andray\Software\Python\_dist\tidy>tidy
<p bgcolor="#277f8f"></p>
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 1 column 1 - Warning: inserting implicit <body>
^Z
line 1 column 1 - Warning: inserting missing 'title' element
line 1 column 1 - Warning: <p> proprietary attribute "bgcolor"
Info: Document content looks like HTML5
Tidy found 4 warnings and 0 errors!

<!DOCTYPE html>
<html>
<head>
<meta name="generator" content=
"HTML Tidy for HTML5 for Windows version 5.6.0">
<title></title>
</head>
<body>
<p bgcolor="#277F8F"></p>
</body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions