Skip to content

Commit

Permalink
Generate HTML content in “Standards Mode”
Browse files Browse the repository at this point in the history
not in “Almost Standards Mode”.  Cf. https://hsivonen.fi/doctype/
  • Loading branch information
dilyanpalauzov committed Aug 25, 2023
1 parent 6c852ba commit fb420d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions imap/httpd.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@
#define TLS_VERSION "TLS/1.2"

/* Supported HTML DOCTYPE */
#define HTML_DOCTYPE \
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" " \
"\"http://www.w3.org/TR/html4/loose.dtd\">"
#define HTML_DOCTYPE "<!DOCTYPE html>"

#define XML_DECLARATION \
"<?xml version=\"1.0\" encoding=\"utf-8\"?>"
Expand Down

0 comments on commit fb420d3

Please sign in to comment.