There is a missing slash in the span ending tag in the suffix parameter of the body counter form element.

  $form['body_filter']['body_length_remaining'] 
    = array('#type'=>'markup', 
            '#value'=>t('Body characters used: <span id="_edi_classified_body_length_remaining">%initial_value</span> of %max_value', 
                        array('%initial_value'=>$current_body_length, '%max_value'=>$max_body_length)), 
            '#weight'=>-1,
            '#prefix' => '<span id="classified-bodylength-msg">',
            '#suffix' => '<span>',
            );
  // END counter code

If I change it to this it works great

            '#suffix' => '</span>',

Do you need this simple fix submitted as a patch?

Comments

mcurry’s picture

Status: Active » Fixed

Committed to DRUPAL-5 and DRUPAL-4.7 branches. Sorry I missed that one. I hope it didn't cause too much trouble....

nancydru’s picture

Nope. It just causes all the stuff after that (like the HTML help) to be bold.

mcurry’s picture

New release 5.x-1.5-6 and 4.7.x-1.5-3 (or later) incorporate this fix.

Anonymous’s picture

Status: Fixed » Closed (fixed)