t('[225335] Line break filter can result in entire body being stripped on output'), 'desc' => t('A site user submitted this article (pretty much as is) to my site, using an input format which uses the core line break converter. After some testing I\'m pretty sure it\'s a size issue.'), 'group' => t('Drupal 7 Tests'), ); } function testIssue() { $string_normal = str_repeat('0123456789', 3330); $string_long = str_repeat('0123456789', 33330); $result_normal = _filter_autop($string_normal); $result_long = _filter_autop($string_long); $result_normal_expected = "
$string_normal
\n"; $result_long_expected = "$string_long
\n"; $this->assertEqual($result_normal, $result_normal_expected, 'Check normal string'); $this->assertEqual($result_long, $result_long_expected, 'Check long string'); } }