From 23f32fd1e9f09747feb35422202d83bf3b21b015 Mon Sep 17 00:00:00 2001 From: Drake Date: Fri, 3 Nov 2006 22:13:13 +0000 Subject: [PATCH] From 7.1 branch, merge fix to SyndicatedContent re IE not handling ' and associated workaround not handling all instances. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Asset/Wobject/SyndicatedContent.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index c623cab89..5d7cf6558 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -34,6 +34,7 @@ - Made many minor code efficiency changes. - fix: Two cookies and incorrect Last-Modified date in HTTP header - WebGUI::Text no longer spits out a billion warnings + - fix: workaround for IE not handling ' in SyndicatedContent was not catching everything 7.1.3 - fix: SQLReport now returns error if can't find DatabaseLink diff --git a/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm b/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm index ceb2cd38f..d3bc72fa0 100644 --- a/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm +++ b/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm @@ -288,8 +288,8 @@ sub _normalize_items { } # IE doesn't recognize ' - $item->{title} =~ s/'/\'/; - $item->{description} =~ s/'/\'/; + $item->{title} =~ s/'/\'/g; + $item->{description} =~ s/'/\'/g; } }