9 protected function setUp() {
29 $testMathML = <<<
'MathML'
30<math xmlns=
"http://www.w3.org/1998/Math/MathML">
49 '<mw:editsection page="foo" section="bar">foo</mw:editsection>',
50 '<mw:editsection page="foo" section="bar">foo</mw:editsection>',
51 '<mw:editsection> should survive tidy'
54 '<editsection page="foo" section="bar">foo</editsection>',
55 '<editsection page="foo" section="bar">foo</editsection>',
56 '<editsection> should survive tidy'
58 [
'<mw:toc>foo</mw:toc>',
'<mw:toc>foo</mw:toc>',
'<mw:toc> should survive tidy' ],
59 [
"<link foo=\"bar\" />foo",
'<link foo="bar"/>foo',
'<link> should survive tidy' ],
60 [
"<meta foo=\"bar\" />foo",
'<meta foo="bar"/>foo',
'<meta> should survive tidy' ],
type show c for details The hypothetical commands show w and show c should show the appropriate parts of the General Public License Of the commands you use may be called something other than show w and show c
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
static tidy( $text)
Interface with Remex tidy.
static provideTestWrapping()
testTidyWrapping( $expected, $text, $msg='')
provideTestWrapping