mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 07:09:56 +09:00
#18532314 r7139 추가 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7141 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0c9c0fd86b
commit
97836937ad
1 changed files with 6 additions and 4 deletions
|
|
@ -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+'>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue