{"tests": [ {"description": "bare text with leading spaces", "options": {"strip_whitespace": true}, "input": [["Characters", "\t\r\n\u000B\u000C foo"]], "expected": ["foo"] }, {"description": "bare text with trailing spaces", "options": {"strip_whitespace": true}, "input": [["Characters", "foo \t\r\n\u000B\u000C"]], "expected": ["foo"] }, {"description": "bare text with inner spaces", "options": {"strip_whitespace": true}, "input": [["Characters", "foo \t\r\n\u000B\u000C bar"]], "expected": ["foo bar"] }, {"description": "text within
", "options": {"strip_whitespace": true}, "input": [["StartTag", "pre", {}], ["Characters", "\t\r\n\u000B\u000C foo \t\r\n\u000B\u000C bar \t\r\n\u000B\u000C"], ["EndTag", "pre"]], "expected": ["\t\r\n\u000B\u000C foo \t\r\n\u000B\u000C bar \t\r\n\u000B\u000C"] }, {"description": "text within, with inner markup", "options": {"strip_whitespace": true}, "input": [["StartTag", "pre", {}], ["Characters", "\t\r\n\u000B\u000C fo"], ["StartTag", "span", {}], ["Characters", "o \t\r\n\u000B\u000C b"], ["EndTag", "span"], ["Characters", "ar \t\r\n\u000B\u000C"], ["EndTag", "pre"]], "expected": ["\t\r\n\u000B\u000C foo \t\r\n\u000B\u000C bar \t\r\n\u000B\u000C
"] }, {"description": "text within