diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-09-09 09:59:58 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-09-09 09:59:58 +0100 |
commit | 0eb6188c3a931063f78b017c621b79709746706e (patch) | |
tree | 9947fbb140fbc0e7013b2b8246dcc66a21f9202c /Makefile.config | |
parent | 73071c0dea1e4bcfd094810d051aebc74e6c648c (diff) | |
download | libhubbub-0eb6188c3a931063f78b017c621b79709746706e.tar.gz libhubbub-0eb6188c3a931063f78b017c621b79709746706e.tar.bz2 |
Support falling back to space separated charset
In some cases, for example, Apple Mail, programs generate HTML
with apallingly bad meta tags such as:
<meta content="text/html charset=utf-8">
This is bad because *a* no http-equiv="Content-Type" and *b* because
the content type and charset do not have a separating semi-colon.
Sadly, Chrome et-al support this, so we need to in Hubbub. This
change adjusts the content="" parser to retry if it cannot find
a semicolon, and work forwards to first whitespace instead.
Fixes: #2549
Diffstat (limited to 'Makefile.config')
0 files changed, 0 insertions, 0 deletions