mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
#18316473 FF에서 이미지 파일 경로가 임의로 변경되던 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6982 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f836b34f34
commit
784300b293
1 changed files with 5 additions and 0 deletions
|
|
@ -196,6 +196,11 @@ function editorGetContentTextarea_xe(editor_sequence) {
|
|||
// 파이어폭스의 경우 의미없는 <br>이 컨텐트 마지막에 추가될 수 있다.
|
||||
str = str.replace(/<br ?\/?>$/i, '');
|
||||
|
||||
// 이미지 경로를 수정한다. - 20091125
|
||||
str = str.replace(/src\s?=\s?(["']?)(?:\.\.\/)+(files\/attach\/)/ig, function(m0,m1,m2){
|
||||
return 'src='+(m1||'')+m2;
|
||||
});
|
||||
|
||||
return str;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue