mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
editor component 내용 변경시 space 가 있는 경우 발생하는 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6308 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
784b0e09c1
commit
62c5a9a6aa
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@
|
|||
**/
|
||||
function transEditorComponent($matches) {
|
||||
$script = sprintf(' %s editor_component=%s', $matches[1], $matches[2]);
|
||||
$script = preg_replace_callback('/([^=^"^ ]*)=([^ ^>]*) /i', fixQuotation, $script);
|
||||
$script = preg_replace_callback('/([^=^"^ ]*)=([^ ^>]*)/i', fixQuotation, $script);
|
||||
preg_match_all('/([a-z0-9\-\_]+)\=\"([^\"]+)\"/is', $script, $m);
|
||||
for($i=0,$c=count($m[0]);$i<$c;$i++) {
|
||||
$xml_obj->attrs->{$m[1][$i]} = $m[2][$i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue