diff options
author | Jason Yundt <jason@jasonyundt.email> | 2022-03-08 10:56:12 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-08 10:10:16 -0800 |
commit | a262585d813482c06bf121ad41377f29eadd2bc1 (patch) | |
tree | 58e5e5885c69e66619f29d52fa72970c30da0a4b /diff.h | |
parent | comment: fix typo (diff) | |
download | tgif-a262585d813482c06bf121ad41377f29eadd2bc1.tar.xz |
gitweb: remove invalid http-equiv="content-type"
Before this change, gitweb would generate pages which included:
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8"/>
When a meta's http-equiv equals "content-type", the http-equiv is said
to be in the "Encoding declaration state". According to the HTML
Standard,
The Encoding declaration state may be used in HTML documents,
but elements with an http-equiv attribute in that state must not
be used in XML documents.
Source: <https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-http-equiv-content-type>
This change removes that meta element since gitweb always generates XML
documents.
Signed-off-by: Jason Yundt <jason@jasonyundt.email>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
0 files changed, 0 insertions, 0 deletions