Added line to display special characters in feed in UTF-8 format (example the ' sign)

benced - February 10, 2009 - 21:03
Project:XSPF Playlist
Version:5.x-1.20-beta1
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:needs review
Description

This came up in the playlist as & or something like that so changed lines 425-428 from

$item[] = array(
'key' => 'title',
'value' => check_plain($node->title),
);

to

$item[] = array(
'key' => 'title',
'value' => decode_entities(check_plain($node->title)),
);

To make it appear as the ' sign that it should be

The JWPlayer apparantly can't read html

#1

benced - February 10, 2009 - 21:09

& # 039 ; - this (without the spaces) is what came up

 
 

Drupal is a registered trademark of Dries Buytaert.