Alexander Gromnitsky's Blog

Android 4.4 Webview parseFromString

Latest update:

Якась маячня.

let dp = new DOMParser()
let doc = dp.parseFromString(html, 'text/html')

works fine in IE11, Edge 20, Chrome 49, Firefox 45, etc, but fails in Android 4.4 Webview. I.e. parseFromString() always returns null.


Tags: ойті
Authors: ag