diff --git a/_test/core/htmlparser.js b/_test/core/htmlparser.js index 89592c738b543c957fa39ac649dd838f24221a9d..79b76d21033af5a023dbfd9a86d54eb305230aea 100644 --- a/_test/core/htmlparser.js +++ b/_test/core/htmlparser.js @@ -50,4 +50,8 @@ test( '属性引号问题', function() { test( '大小写', function() { var root = UE.htmlparser('

'); equals(root.toHtml().replace(/[ ]+>/g,'>'),'

'); + var root = UE.htmlparser('
  1. sdf
  2. sdfsdf
'); + equals(root.toHtml().replace(/[ ]+>/g,'>'),'
  1. sdf
  2. sdfsdf
','补全u,em'); + var root = UE.htmlparser(''); + equals(root.toHtml().replace(/[ ]+>/g,'>'),''); }); \ No newline at end of file