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;
|
post.data.urlenc = post_urlenc;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parent != NULL) {
|
if (parent != NULL && content_get_type(parent) == CONTENT_HTML) {
|
||||||
//newcache extract charset and quirks from parent content
|
child.charset = html_get_encoding(parent);
|
||||||
child.charset = NULL;
|
child.quirks = content_get_quirks(parent);
|
||||||
child.quirks = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Normalize the request URL */
|
/* Normalize the request URL */
|
||||||
|
|
Loading…
Reference in New Issue