In that case, you could parse your string first, like: let dom = new DOMParser() .parseFromString(string_of_html, 'text/html');.
確定! 回上一頁