Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When a user posts or deletes a status message, the points Reason shows HTML instead of the text. The Reason for other points instances shows correctly.
This is what displays: Knots posted a new status.
Daniel
Comment | File | Size | Author |
---|---|---|---|
#2 | Status_Points_reason_displays_HTML.jpg | 15.86 KB | DanNY |
Comments
Comment #1
IceCreamYou CreditAttribution: IceCreamYou commentedWhere does the transaction description appear incorrectly?
Comment #2
DanNY CreditAttribution: DanNY commentedThat's funny, I forgot that this comment box allows HTML tags and it properly converted what I pasted.
What displays is the link tags instead of the link. Here is a screen capture. http://www.newasha.com/images/Status_Points_reason_displays_HTML.jpg
Comment #3
IceCreamYou CreditAttribution: IceCreamYou commentedI meant what is the URL, so that I can find the code that generates the listing you're looking at?
EDIT: at admin/config/people/userpoints/transaction the default seems to be to strip HTML tags.
Comment #4
DanNY CreditAttribution: DanNY commentedHi IceCreamYou,
Sorry I haven't been able to get back to this.
The URL takes authenticated users to view their points from their account. user/me/points
If you want to log in, send me an email and I can get you a login account.
Thanks
Daniel@newasha.com
Update - did a workaround using a Rule for points when status is updated instead of the module.
Comment #5
IceCreamYou CreditAttribution: IceCreamYou commentedGlad you found a workaround. I think the recommended solution to this should be to modify the Userpoints view to render filtered HTML. So, closing.