github.com/MontFerret/ferret@v0.18.0/e2e/tests/static/element/inner_html/get.fql (about)

     1  LET url = @lab.cdn.static + '/simple.html'
     2  LET doc = DOCUMENT(url)
     3  LET el = ELEMENT(doc, "body")
     4  
     5  LET expected = `<h1>Hello world</h1>`
     6  LET actual = INNER_HTML(el)
     7  
     8  LET r1 = '(\s|\")'
     9  LET r2 = '(\n|\s|\")'
    10  
    11  T::EQ(REGEX_REPLACE(TRIM(actual), r2, ''), REGEX_REPLACE(expected, r1, ''))
    12  
    13  RETURN NONE