mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 17:59:55 +09:00
HTML 모드 <br>치환
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5281 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0e52342418
commit
d14947cd8b
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ function editorStartTextarea(editor_sequence, content_key, primary_key) {
|
|||
editorRelKeys[editor_sequence]["func"] = editorGetContentTextarea;
|
||||
|
||||
var content = obj.form[content_key].value;
|
||||
content = content.replace(/<br([^>]+)>/ig,"");
|
||||
content = content.replace(/<br([^>]*)>/ig,"\n");
|
||||
obj.value = content;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue