From 39fc7c06de5c914fbe192bf90909e3f37e92e330 Mon Sep 17 00:00:00 2001
From: yancen
Date: Wed, 6 Mar 2013 12:11:23 +0800
Subject: [PATCH] =?UTF-8?q?[case]=E8=A1=A5=E5=85=85htmlparser=E5=A4=A7?=
=?UTF-8?q?=E5=B0=8F=E5=86=99=E7=94=A8=E4=BE=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
_test/core/htmlparser.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/_test/core/htmlparser.js b/_test/core/htmlparser.js
index 89592c73..79b76d21 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('- sdf
- sdfsdf
');
+ equals(root.toHtml().replace(/[ ]+>/g,'>'),'- sdf
- sdfsdf
','补全u,em');
+ var root = UE.htmlparser('
');
+ equals(root.toHtml().replace(/[ ]+>/g,'>'),'
');
});
\ No newline at end of file
--
GitLab