Unsure if this should be reported to Wetkit or just Views.
So here it goes.

I created a view using a tid as a contextual filter in the url to overwrite an RSS FEED TITLE.
However the term had an apostrophe and was getting double encoded.

The term Jimmy's Place used as the Feed title, would appear as Jimmy's Place.

It was resolved by editing line 887
in function template_preprocess_views_view_rss()
in file /srv/www/auth/profiles/wetkit/modules/contrib/views/theme/theme.inc as follows.

- $vars['title'] = check_plain($title);
+ $vars['title'] = $title;

Comments

fgjohnson created an issue. See original summary.

fgjohnson’s picture

sylus’s picture

Status: Active » Fixed

Pushed this patch to views and will be part of next release.

Thx!

fgjohnson’s picture

I added a patch to that issue... #24

That adds the same change to:
function template_preprocess_views_view_rss

as #10 did for
function template_preprocess_views_view_row_rss

Testing it on my local now.

sylus’s picture

Oh you needed both? Let me know and I can update the patch.

Thx!

fgjohnson’s picture

Just patch #24.

It preempts #10.

Sorry for the confusion.

sylus’s picture

No worries, all updated now!

  • sylus committed 5894f4c on 7.x-4.x
    Fix WetKit Core for Issue #2738855: RSS Feed Title Double Encoding
    
  • sylus committed cb34270 on 7.x-4.x
    Merge pull request #1857 from sylus/7.x-4.x
    
    Fix WetKit Core for Issue #...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.