what's the number of times the letter "l" appears in:
q: что может настырно резать iframe? при публикации поста, обрезается тег iframe, публикуется пост через обычную textarea.
как можно избавиться от обрезки тега?
в самой функции add_feed нашел такое:
$content = sanitizetext($content);

сама функция sanitizetext:
if (!function_exists('sanitizetext')) {
function sanitizetext($string, $limit = false, $output = false) {
    if (!is_string($string)) return $string;
    $lawed_config = array(
        'safe' => 1,
        'deny_attribute' => 'id, style, class'
    );
    $string = lawedcontent($string, $lawed_config);//great one
    $string = trim($string);
    //$string = htmlspecialchars($string, ent_quotes);

    $string = str_replace('&amp;#', '&#',$string);
    $string = str_replace('&amp;', '&',$string);
$string = preg_match('/src="([^"]+)"/', $string, $match);

    if ($limit) {
        $string = substr($string, 0, $limit);
    }
    return $string;
}

}

еще такие подозрительные функции: 
function format_output_text($content) {
$content = str_replace("\r\n", '<br />',$content);
$content = str_replace("\n", '<br />',$content);
$content = str_replace("\r", '<br />',$content);
$content = stripslashes($content);
$content = autolinkurls($content);
if ($content) $content = fire_hook('filter.content', $content);
$content = ($content);
$lawed_config = array(
    'safe' => 1,
    'deny_attribute' => 'id, style, class'
);
$content = lawedcontent($content, $lawed_config);
//replace bad words
$badwords = config('ban_filters_words', '');
if ($badwords) {
    $badwords = explode(',', $badwords);
    foreach($badwords as $word) {
        $content = str_replace($word, '***', $content);
    }
}

return $content;

}
function output_text($content, $options = array('html' => true, 'length' => 500, 'more' => true)) {
/**
 * @var $html
 * @var $length
 * @var $more
 */
extract($options);
$content = format_output_text($content);
$tcontent = $content;
$original = $content;

if (is_rtl($content)) {
    $content = "<span style='direction: rtl;text-align: right;display: block'>{$content}</span>";
}
//too much text solution
$id = md5($tcontent.time());
$result = "<span id='{$id}' style='font-weight: normal !important'>";
if ($more === true) {
    if (strlen(preg_replace('/\s+/', ' ', strip_tags($tcontent, '<br>'))) > $length) {
        $result .= "<span class='text-full' style='display: none;font-weight: normal'>{$content}</span>";
        $tcontent = format_output_text(str_limit($tcontent, $length, array('ending' => '...', 'html' => $html)));
        if (is_rtl($tcontent)) $tcontent = "<span style='direction: rtl;text-align: right;display:block'>{$tcontent}</span>";
        $result .= "<span style='font-weight: normal !important'>".$tcontent."</span>";
        $result .= '<a href="" onclick=\'return read_more(this, "'.$id.'")\'>'.lang('read-more').'</a>';
    } else {
        $result .= $content;
    }
} elseif($more) {
    $result .= "<span class='text-full' style='display: none;font-weight: normal'>{$content}</span>";
    $tcontent = format_output_text(str_limit($tcontent, $length, array('ending' => '...', 'html' => $html)));
    if (is_rtl($tcontent)) $tcontent = "<span style='direction: rtl;text-align: right;display:block'>{$tcontent}</span>";
    $result .= "<span style='font-weight: normal !important'>".$tcontent."</span>";
    $result .= '<a href="'.$more.'" ajax="true">'.lang('read-more').'</a>';
} else {
    $result .= $content;
}

$result .= "</span>";
if (config('enable-text-translation', false) and !empty($original) and !isenglish($original)) {
    $trans = lang('see-translation');
    $result .= "<div id='{$id}-translation' class='non-translated'><input name='text' type='hidden' value='{$original}'/><button data-id='{$id}' onclick='return translatetext(this)'>{$trans}</button></div>";
}
return $result;
}


user
The total number of "l"s in that passage is one hundred and sixteen.
assistant