Subject: | IgnoreWhitespace option |
It would be nice if there were an option for is_string (or something in use/import like "controlling output") that allowed the checks to ignore whitespace.
In Handel, I test the output of AxKit/TT2 pages to expected output; ala long string compares. Sometimes it's necessary to strip all white space so things like carriage returns and extra spaces get ignore in xml output. This is even more true when the server processer strips all white space from the output sent to the browser, but the string we're checking against has tabs/line feeds/spaces in its content for readability sake.
Just a thought.