github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/doc/inner_html/set.fql (about) 1 LET url = @lab.cdn.dynamic 2 LET doc = DOCUMENT(url, true) 3 4 LET expected = `<span>Hello</span>` 5 6 INNER_HTML_SET(doc, "body", "<span>Hello</span>") 7 8 LET actual = INNER_HTML(doc, "body") 9 10 LET r1 = '(\s|\")' 11 LET r2 = '(\n|\s|\")' 12 13 RETURN T::EQ(REGEX_REPLACE(expected, r1, ''), REGEX_REPLACE(TRIM(actual), r2, ''))