API page: http://api.drupal.org/api/drupal/modules--node--node.module/function/nod...

The "Parameters" section is showing HTML tags as if they were plain text.

The issue is also present in the pages for Drupal 6, and Drupal 7.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

apaderno’s picture

Issue summary: View changes

Inlined the screenshot.

Devin Carlson’s picture

Status: Active » Needs review
FileSize
683 bytes

After checking out the Doxygen formatting conventions and referencing other parts of the module, I think node_comment_statistics should be wrapped in curly brackets and comment_count should be wrapped in quotation marks (the existing code tags should be removed).

jhodgdon’s picture

Status: Needs review » Needs work
Issue tags: +Needs backport to D7

Thanks for the patch!

The curly brackets are definitely a good idea. I think the field name doesn't need to be in quotes though?

Also, could you:
a) Change "DB" to "database" in the first line of that @param
b) Re-wrap the paragraph lines so they are as close to 80 characters as possible without going over

Thanks!

James_Stallings’s picture

Status: Needs work » Needs review
FileSize
857 bytes
jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

Thanks! Looks good to me, for 7.x/8.x.

catch’s picture

Version: 8.x-dev » 7.x-dev

Committed to 8.x, moving to 7.x for webchick.

jhodgdon’s picture

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 7.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Added a reference to the pages for the other Drupal versions.