count_paragraphs в Smarty: ошибка в мануале?

Silex

unitecsys
count_paragraphs в Smarty: ошибка в мануале?

Судя по обсуждениям, движком пользовались многие.
Цитата из мана Smarty:
PHP:
count_paragraphs
This is used to count the number of paragraphs in a variable. 

Example 5-5. count_paragraphs

index.php:

$smarty = new Smarty;
$smarty->assign('articleTitle', 'War Dims Hope for Peace. Child's Death Ruins Couple's Holiday.');
$smarty->display('index.tpl');

index.tpl:

{$articleTitle}
{$articleTitle|count_paragraphs}

OUTPUT:

War Dims Hope for Peace. Child's Death Ruins Couple's Holiday. 

Man is Fatally Slain. Death Causes Loneliness, Feeling of Isolation.
2
В упор не пойму, откуда взялась строка "Man is Fatally Slain. Death Causes Loneliness, Feeling of Isolation." Ошибка в мане?

P.S. Ну и тематика примеров у них :)
 

tony2001

TeaM PHPClub
>Ошибка в мане?
да
PHP:
//$smarty->assign('articleTitle', 'War Dims Hope for Peace. Child's Death Ruins Couple's Holiday.');
$smarty->assign('articleTitle', 'War Dims Hope for Peace. Child's Death Ruins Couple's Holiday.
Man is Fatally Slain. Death Causes Loneliness, Feeling of Isolation.');
 
Сверху