{"tests": [ {"description": "no encoding", "options": {"inject_meta_charset": true}, "input": [["StartTag", "http://www.w3.org/1999/xhtml", "head", {}], ["EndTag", "http://www.w3.org/1999/xhtml", "head"]], "expected": [""], "xhtml": ["
"] }, {"description": "empytag head", "options": {"inject_meta_charset": true, "encoding":"utf-8"}, "input": [["StartTag", "http://www.w3.org/1999/xhtml", "head", {}], ["EndTag", "http://www.w3.org/1999/xhtml", "head"]], "expected": [""], "xhtml": [""] }, {"description": "head w/title", "options": {"inject_meta_charset": true, "encoding":"utf-8"}, "input": [["StartTag", "http://www.w3.org/1999/xhtml", "head", {}], ["StartTag", "http://www.w3.org/1999/xhtml","title",{}], ["Characters", "foo"],["EndTag", "http://www.w3.org/1999/xhtml", "title"], ["EndTag", "http://www.w3.org/1999/xhtml", "head"]], "expected": ["