#18532314 r7139 추가 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7141 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2010-01-12 15:05:22 +00:00
parent 0c9c0fd86b
commit 97836937ad

View file

@ -182,10 +182,12 @@ function editorGetContentTextarea_xe(editor_sequence) {
});
str = str.replace(/\<(\/)?([A-Z]+)([^>]*)\>/ig, function(m0,m1,m2,m3) {
m3 = m3.replace(/ ([A-Z]+?)\=/g, function(n0,n1) {
n1 = n1.toLowerCase();
return ' '+n1+'=';
});
if(m3) {
m3 = m3.replace(/ ([A-Z]+?)\=/ig, function(n0,n1) {
n1 = n1.toLowerCase();
return ' '+n1+'=';
});
} else { m3 = ''; }
m2 = m2.toLowerCase();
if(!m1) m1='';
return '<'+m1+m2+m3+'>';