Closed (fixed)
Project:
Signup Integration for Ubercart
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2009 at 21:43 UTC
Updated:
22 Aug 2009 at 16:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ezra-g commentedCan you clarify what you mean by "getting the following" -- Where do you see this markup?
Also, it would be easier to evaluate your proposed change if you offer a patch.
Thanks!
Comment #2
jacerider commentedSorry bud,
When I add a signup enabled product to the cart, and go to checkout, I am taking here:
uc_signup/attendees
On that page, the following type is displayed:
Please enter the email address of each attendeee for this event. If an attendee does not have an account on this site, you'll be prompted to enter some information about that attendee.
(Looks like we have a spelling error in there as well -- I'll add that to my patch)
And then, in the fieldset just below that, there is a title. My title has the HTML code displayed. Look for my patch in just a few moments.
Comment #3
jacerider commentedHere is the patch.
Comment #4
ezra-g commentedHmm, I wasn't having this problem and applying your patch actually *caused* me to see similar markup in the fieldset title.
With my date field configuration, which seems pretty standard, $date_formatted unescaped is:
Fri, 02/12/2010 - 03:06Adding check_plain causes this markup to display in the rendered page. Without this patch, I tried generating the error with multiple date values and different date formatters but wasn't successful.
Thanks for finding the "attendeees" typo! I'll wait until we resolve this issue to commit a fix for that.
Setting status to "needs work".
Comment #5
jacerider commentedHere is a ss of what things look like for me. I will see what else I can do here...
Comment #6
jacerider commentedI see what I did. I made the correct change, then redid it to create the patch, and did it wrong.
I have attached the new patch.
Comment #7
ezra-g commentedAh -- strip_tags seems like a good solution here. Marking as needs review, which I can likely do later today.
Comment #8
jacerider commentedWow, I'm on a roll. HERE is the correct patch. It's too early to be doing this stuff. :)
I added a t() that didn't need to be in there on the previous one.
Comment #9
ezra-g commentedThis is committed. Thanks!