mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 14:49:56 +09:00
br, hr 등의 self-closing 태그에서 태그 이름과 /> 앞에 공백이 두 칸 삽입되던 문제 수정 -> 공백 한 칸만 삽입 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7355 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9e91ec5639
commit
cd195299d2
1 changed files with 1 additions and 1 deletions
|
|
@ -5532,7 +5532,7 @@ xe.XE_XHTMLFormatter = $.Class({
|
|||
if ($.inArray(m2,lonely_tags) >= 0) {
|
||||
var len = m3.length;
|
||||
if (m2 == 'br') m3 = '';
|
||||
if (!m3 || m3.substring(len-1,len) != '/') m3 += ' /';
|
||||
if (!m3 || m3.substring(len-1,len) != '/') m3 += '/';
|
||||
|
||||
return '<'+m2+' '+m3+'>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue