mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7841 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ea9ee76cf5
commit
6e163b4ff0
1 changed files with 4 additions and 2 deletions
|
|
@ -351,8 +351,10 @@
|
|||
$next = substr($buff,$pos);
|
||||
|
||||
$pre_pos = strrpos($pre, '<');
|
||||
$np = strpos($next,'"',strpos($next,'"')+1);
|
||||
$next_pos = strpos(substr($next,$np), '>')+$np+1;
|
||||
|
||||
preg_match('/<(\/|[a-z])/i',$next,$m);
|
||||
if(!$m[0]) return $buff;
|
||||
$next_pos = strpos($next, $m[0]);
|
||||
|
||||
$tag = substr($pre, $pre_pos). substr($next, 0, $next_pos);
|
||||
$pre = substr($pre, 0, $pre_pos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue