Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

RSS feed does not work if there are special chars in the news #90

Closed
phaidon opened this Issue · 7 comments

5 participants

@phaidon
Collaborator

No description provided.

@espaan
Owner

Hi, on what version is this News 3.0 or the Zk1.2 version News 26x?

@espaan
Owner

See also this forum topic.
http://community.zikula.org/index.php?module=Forum&func=viewtopic&topic=59326&start=15#pid264909

nikp made a change with replacing safehtml with safetext

@Portugao

I had this too with News 3.0.0. It depends on html purifier. If I disable the purifier, the rss feed works!

I don't know if it is an issue of News or Core?

@craigh
Owner

@nmpetkov wrote (in the forum post)

I solved the problem replacing modifier "safehtml" with "safetext" in file index.tpl in directory themes/RSS/templates/modules/News/user (also in modules/News/templates/rss)

Nikolay can you test if the recent changes to the mobile theme in the core have improved your situation? Also, be sure to check when reverting to "safehtml" (not safetext)

@espaan - should we just convert to safetext in this template? would be a quick fix.

@espaan
Owner

I agree with changing to safetext. It is still safe and it that works better ! It might be that HTML is not so convenient in the RSS templates anyhow and that it should eb more text.

@craigh craigh closed this in b1a1084
@nmpetkov

safehtml does not work with some spetial charachters. Best solution will be to make new modifier, "safexml". HTML and XML are different in terms of allowed spetial charachters.

@craigh
Owner

Will leave this for now, since I don't know anything about that stuff. If you do and are willing to code it, please submit PR to core with new plugin and let me know to change News.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.