Special characters in article titles

Development-related discussion, including bundled plugins
Ivica
Bear Rating Trainee
Bear Rating Trainee
Posts: 1
Joined: 18 Mar 2013, 17:15

Special characters in article titles

Postby Ivica » 19 Mar 2013, 12:45

I had problems with special characters in titles converted into HTML codes, like & displayed as '&'. Fixed it by calling "htmlspecialchars_decode" on $article["title"] when it's printed (in classes/feeds.php), and when an article row is constructed in classes/api.php.

Also, in CDM mode, there is no "<span class='author'>" around authors in article titles, can be added in classes/feeds.php at line 542.

Thanks for the great software.

phz
Bear Rating Disaster
Bear Rating Disaster
Posts: 77
Joined: 18 Mar 2013, 18:32

Re: Special characters in article titles

Postby phz » 19 Mar 2013, 13:31

Ivica wrote:Also, in CDM mode, there is no "<span class='author'>" around authors in article titles, can be added in classes/feeds.php at line 542.

Development is 12 hours ahead of you :-) : https://github.com/gothfox/Tiny-Tiny-RS ... ba3742dd32


Return to “Development”

Who is online

Users browsing this forum: No registered users and 3 guests