From 404670c9a5d16f108d4c1997197b308979c627eb Mon Sep 17 00:00:00 2001 From: Bert Owen Date: Sat, 19 Apr 2014 12:52:54 -0700 Subject: [PATCH] VRFS-1609 fixed --- web/app/assets/javascripts/bandProfile.js | 4 ++-- web/spec/features/bands_spec.rb | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/web/app/assets/javascripts/bandProfile.js b/web/app/assets/javascripts/bandProfile.js index 4cdfc156b..6812e751e 100644 --- a/web/app/assets/javascripts/bandProfile.js +++ b/web/app/assets/javascripts/bandProfile.js @@ -182,7 +182,7 @@ band = response; if (band) { // name - $('#band-profile-name').html(band.name); + $('#band-profile-name').text(band.name); // avatar $('#band-profile-avatar').attr('src', context.JK.resolveAvatarUrl(band.photo_url)); @@ -200,7 +200,7 @@ text = band.recording_count > 1 || band.recording_count == 0 ? " Recordings" : " Recording"; $('#band-profile-recording-stats').html(band.recording_count + text); - $('#band-profile-biography').html(band.biography); + $('#band-profile-biography').text(band.biography); // wire up Follow click configureBandFollowingButton(band.is_following); diff --git a/web/spec/features/bands_spec.rb b/web/spec/features/bands_spec.rb index 81166d368..96525314e 100644 --- a/web/spec/features/bands_spec.rb +++ b/web/spec/features/bands_spec.rb @@ -115,7 +115,6 @@ describe "Bands", :js => true, :type => :feature, :capybara_feature => true do end it "handles special characters in text fields" do - pending "update this after VRFS-1609 is resolved" navigate_band_setup band_name = garbage(3) + ' ' + garbage(50) band_bio = garbage(500)