mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-06 09:31:11 +08:00
Summary: Resolves https://github.com/facebook/react-native/issues/11753 and https://github.com/facebook/react-native/issues/9835. Android versions 4.1-4.3 don't understand the MIME type `text/html; charset=utf-8` and default to `text/plain` instead, rendering the content as an unparsed HTML string. Since the encoding is already set and passed separately, removing it from the MIME type has no negative effects. The same fix has already been discussed, successfully tested and incorporated in https://github.com/NativeScript/NativeScript/issues/1038. Closes https://github.com/facebook/react-native/pull/13789 Differential Revision: D5971910 Pulled By: shergin fbshipit-source-id: 07795bdf0f13ddb1e8eec779d1cad59244f3687e