mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-12 13:59:20 +03:00
Extract parent charset and quirkiness
svn path=/trunk/netsurf/; revision=10416
This commit is contained in:
parent
be3b246eab
commit
c4de2cf6b3
@ -321,10 +321,9 @@ void browser_window_go_post(struct browser_window *bw, const char *url,
|
||||
post.data.urlenc = post_urlenc;
|
||||
}
|
||||
|
||||
if (parent != NULL) {
|
||||
//newcache extract charset and quirks from parent content
|
||||
child.charset = NULL;
|
||||
child.quirks = false;
|
||||
if (parent != NULL && content_get_type(parent) == CONTENT_HTML) {
|
||||
child.charset = html_get_encoding(parent);
|
||||
child.quirks = content_get_quirks(parent);
|
||||
}
|
||||
|
||||
/* Normalize the request URL */
|
||||
|
Loading…
Reference in New Issue
Block a user