Plugin Directory

Changeset 1710888


Ignore:
Timestamp:
08/09/2017 11:18:18 AM (9 years ago)
Author:
vashkatsi
Message:

Фикс регулярного выражения для парсинга параграфов

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bbq/tags/1.0.8/public/class-bbq-public.php

    r1707653 r1710888  
    286286    protected function countOnlyParagraphsContenLength($content)
    287287    {
    288         preg_match_all('%(<p[^>]*>.*?</p>)%i', $content, $matches);
     288        preg_match_all('%(<p[^>]*>.*?</p>)%isU', $content, $matches);
    289289
    290290        return strlen(implode('', $matches[1]));
Note: See TracChangeset for help on using the changeset viewer.