Closed (fixed)
Project:
Classified Ads
Version:
5.x-1.5-5
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 May 2007 at 15:30 UTC
Updated:
7 Jun 2007 at 16:48 UTC
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
Comment #1
mcurry commentedCommitted to DRUPAL-5 and DRUPAL-4.7 branches. Sorry I missed that one. I hope it didn't cause too much trouble....
Comment #2
nancydruNope. It just causes all the stuff after that (like the HTML help) to be bold.
Comment #3
mcurry commentedNew release 5.x-1.5-6 and 4.7.x-1.5-3 (or later) incorporate this fix.
Comment #4
(not verified) commented