blob: 6e1fa761b1f096baf8b118793b601fa23fc53932 [file] [log] [blame]
Test to make sure we remove span tags with no attributes if we removed the last attribute.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS one bold command converted <span><span style='font-weight: bold'>test</span></span> to <span>test</span>
PASS one bold command converted <span style='font-weight: bold'><span>test</span></span> to test
PASS one bold command converted <span style='font-weight: bold'><span style='font-weight: bold'>test</span></span> to test
PASS one bold command converted <span foo="bar" style='font-weight: bold'>test</span> to <span foo="bar">test</span>
PASS two bold commands converted <span>test</span> to <span>test</span>
PASS successfullyParsed is true
TEST COMPLETE