提交 618b6f2b 编写于 作者: L luqiong

[test]整理用例

上级 afd18a1c
......@@ -194,7 +194,7 @@ test( 'br', function () {
/*考察标签之间嵌套关系*/
test( '复杂标签嵌套', function() {
var root = UE.htmlparser('<span>hello1<p><img>hello2<div>hello3<p>hello4');
equals(root.toHtml().replace(/[ ]+>/g,'>'),'<span>hello1</span><p><img/>hello2</p><div>hello3<p>hello4</p></div>');
equals(root.toHtml().replace(/[ ]+>/g,'>'),'<span>hello1<p><img/>hello2<div>hello3<p>hello4</p></div></p></span>');
} );
test( 'trace 1727:过滤超链接后面的空格', function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册