mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Also use the <span> tag to determine whether an editor was used
This commit is contained in:
parent
3c772bf1cf
commit
2a023f0854
2 changed files with 7 additions and 1 deletions
|
|
@ -616,7 +616,11 @@ function is_html_content($str)
|
|||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
$span_tag_count = preg_match_all('!<span\s+style="[^"<>]*?">.+?</span>!i', $str);
|
||||
if ($span_tag_count >= 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue