Decode of title suggested to handle special characters

Created on 7 October 2008, over 16 years ago
Updated 16 May 2025, 3 days ago

I have a website with a single quote in its breadcrumb title:
Something's fishy with China algae plant

This was being displayed as:
Something's fishy with China algae plant

In custom_breadcrumb.module's custom_breadcrumb_nodeapi(), I added the html decode in the following line:
$trail[] = l(html_entity_decode($title, ENT_QUOTES, 'UTF-8'), trim($paths[$i]));

This fixed the problem nicely.

✨ Feature request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States aangel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024