Property History CSS being sanitized #319
Labels
Area: Frontend
Priority:Moderate
Issues & PRs that are minor; broken styling; warns; there are practical workarounds
Status: Fix Proposed
A issue that has a PR related to it that provides a possible resolution
Status:Requires Updates
Issues & PRs which requires input or update from the author
Type: Bug
Something isn't working
Issue
When creating a Case and pulling in the Property History, the formatting of the Property History looks correct initially (e.g. the CSS is working and it displays properly). However, when you save the Case, the CSS is stripped out. Need to find a way to disable this so the CSS remains after saving the record.
Expected Behavior
Whenecer you save a Case and change tabs in detail view, CSS of the related fileds should take effect.
Actual Behavior
Whenecer you save a Case and change tabs in detail view, CSS of the related fileds does not take effect.
Possible Fix
Add purifyHtml variable in SugarBean.php and get the value from $def['metadata']['purifyHtml'].
Steps to Reproduce
Context
After filling UPRN, newly created fields are being styled. But after save button, these style disappears.
Your Environment
The text was updated successfully, but these errors were encountered: