If a content type has an apostrophe or other character that gets converted to html entities, it will show up in the name of the content type on the node/add page.

Example:
<?php Steve&amp;#39;s blog ?>

Comments

Steve Dondley’s picture

I can't get this to show properly but I think you get the idea.

dropcube’s picture

Project: Content Construction Kit (CCK) » Drupal core
Version: 6.x-1.0-alpha » 7.x-dev
Component: General » node system

This is not an issue of CCK, but core.

dropcube’s picture

Title: HTML entities appearing on node/add page » Create content page is not formating links correctly
Component: node system » node.module
Assigned: Unassigned » dropcube
Priority: Minor » Normal
Status: Active » Needs review
StatusFileSize
new771 bytes

The links in the "Create content" page are not being displayed correctly, HTML entities appearing because check_plain is being applied twice. The patch fixes this by using $item['localized_options'] instead of $item['options']

dropcube’s picture

Patch still applies and fixes the issue.

catch’s picture

Status: Needs review » Reviewed & tested by the community

Confirmed the bug, patch applies cleanly and fixes the double escaping. RTBC.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

dropcube’s picture

Version: 7.x-dev » 6.x-dev
Status: Fixed » Patch (to be ported)
StatusFileSize
new783 bytes

This patch applies to 6.x branch.

asimmonds’s picture

Status: Patch (to be ported) » Reviewed & tested by the community

Confirmed the bug in 6.x-dev, patch in #7 still applies cleanly to 6.x-dev and appears to fix the double escaping.

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

Committed to Drupal 6. Thanks!

Status: Fixed » Closed (fixed)

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