Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
node.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 May 2008 at 03:58 UTC
Updated:
24 Nov 2008 at 10:22 UTC
Jump to comment: Most recent file
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&#39;s blog ?>
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | node-add-page-links-255150-6.x.patch | 783 bytes | dropcube |
| #3 | node-add-page-links-255150.patch | 771 bytes | dropcube |
Comments
Comment #1
Steve Dondley commentedI can't get this to show properly but I think you get the idea.
Comment #2
dropcube commentedThis is not an issue of CCK, but core.
Comment #3
dropcube commentedThe 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']Comment #4
dropcube commentedPatch still applies and fixes the issue.
Comment #5
catchConfirmed the bug, patch applies cleanly and fixes the double escaping. RTBC.
Comment #6
dries commentedCommitted to CVS HEAD. Thanks.
Comment #7
dropcube commentedThis patch applies to 6.x branch.
Comment #8
asimmonds commentedConfirmed the bug in 6.x-dev, patch in #7 still applies cleanly to 6.x-dev and appears to fix the double escaping.
Comment #9
gábor hojtsyCommitted to Drupal 6. Thanks!