mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 12:49:55 +09:00
XpressEditor에서 script 구문을 일단 사용은 가능하도록 변경 (서버측에서 관리자가 아닌 경우 자동 제거)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6322 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
32aa901adb
commit
2fab7c2b7e
1 changed files with 2 additions and 2 deletions
|
|
@ -5424,7 +5424,7 @@ var
|
|||
regex_class2 = /xe_selected_cell/g;
|
||||
regex_handler = /<(.*?)\s+on[a-z]+\s*=(?:\s*".*?"|\s*'.*?'|[^\s>]+)(.*?)>/ig,
|
||||
//regex_id = /<(.*?)\s+id\s*=(?:[^\s>]+|\s*".*?"|\s*'.*?')(.*?)>/ig,
|
||||
regex_script = /<script[\s\S]+?<\/script>/ig,
|
||||
//regex_script = /<script[\s\S]+?<\/script>/ig,
|
||||
regex_font_color = /color\s*=(?:\s*"(.*?)"|\s*'(.*?)'|([^\s>]+))/i,
|
||||
regex_font_face = /face\s*=(?:\s*"(.*?)"|\s*'(.*?)'|([^\s>]+))/i,
|
||||
regex_font_size = /size\s*=(?:\s*"(\d+)"|\s*'(\d+)'|(\d+))/i,
|
||||
|
|
@ -5485,7 +5485,7 @@ xe.XE_XHTMLFormatter = $.Class({
|
|||
//sContent = sContent.replace(regex_id, '<$1$2>');
|
||||
|
||||
// remove all scripts
|
||||
sContent = sContent.replace(regex_script, '');
|
||||
//sContent = sContent.replace(regex_script, '');
|
||||
|
||||
if (jQuery.browser.msie) {
|
||||
// remove jQuery attributes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue