@see breaks summaries

neochief - May 28, 2008 - 11:44
Project:API
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:patch (code needs review)
Description

Handling @see are braking the summaries now. Take a look at search_box summary at this page:
http://api.drupal.org/api/file/modules/search/search.module/6

(there See alsosearch_box_form_submit() at the end)

To avoid this, we can add paragraph ending just before the See also header (and place paragpaph tag to the end to avoid breaking the code). After it all will be ok.

You can apply the patch in attachment.

AttachmentSize
parser.inc_.patch670 bytes

#1

neochief - May 29, 2008 - 22:31

I found another bug with @see. Take a look at:
http://api.drupal.org/api/group/themeable/6

There are @see after See also header. It happens because in API module is only one @see replasing to the proper values. My patch fixes both bugs.

AttachmentSize
parser_new2.patch762 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.