drupal-5.15/modules/node/node.module has corrupt data at line 224.
md5sum of drupal-5.15.tar.gz: 4c3c71bcf17bdbbe8c4e8dacbb1d0072

The line has bad data whether viewed with nvi, vim, notepad, wordpad.

Here's the line (224), with the line preceding it:

// If the first paragraph is too long, split at the end of a sentence.
$break_points[] = array('. ' => 1, '! ' => 1, '? ' => 1, '。' => 0, '؟ ' => 1);

Comments

apg’s picture

apparently, this is in the node_teaser() function:

http://api.drupal.org/api/function/node_teaser/5

// If the first paragraph is too long, split at the end of a sentence.
$break_points[] = array('. ' => 1, '! ' => 1, '? ' => 1, '。' => 0, '؟ ' => 1);

Maybe it should be:

$break_points[] = array('. ' => 1, '! ' => 1, '? ' => 1, '\u3002' => 0, '\u061f ' => 1);

sdrycroft’s picture

Project: Nodes » Drupal core
Version: » 5.15
Component: Issue » node.module
drumm’s picture

Status: Active » Closed (works as designed)

Drupal code uses Unicode characters, make sure your editor supports them.