You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested on 4.6, but presumably the entire 4 branch is affected
Description
If your GridField summary view contains data with special characters and you hit the print button, those special characters will be double escape in the print view. e.g.: If your grid field contains the string "love > hate", the actual raw HTML sent to browser will be:
<td>Love &gt; Hate</td>
Which will appear as "Love > Hate".
Steps to Reproduce
On a project with frameworktest installed, access the test modal admin.
Edit a company and add some "greater than" signs at the start of it's name.
Save your changes and return to the main ModelAdmin view.
Hit the Print button
Expected results: The new Company name is displayed with the "greater than" signs properly escape.
Actual results: The "greater than" signs are double escaped.
The text was updated successfully, but these errors were encountered:
Since this looks like a core bug it's worth checking when this is fixed that it doesn't affect the userforms equivalent bug, or patch it again if it does.
Affected Version
Tested on 4.6, but presumably the entire 4 branch is affected
Description
If your GridField summary view contains data with special characters and you hit the print button, those special characters will be double escape in the print view. e.g.: If your grid field contains the string "love > hate", the actual raw HTML sent to browser will be:
Which will appear as "Love > Hate".
Steps to Reproduce
frameworktest
installed, access the test modal admin.Expected results: The new Company name is displayed with the "greater than" signs properly escape.
Actual results: The "greater than" signs are double escaped.
The text was updated successfully, but these errors were encountered: