Deprecation: #15415 - Deprecate removeBadHTML
See forge#15415
Description
Due to the wrong approach of removeBadHTML it is not 100% complete and does not keep its promise.
Content
Object Renderer:: std Wrap_ remove Bad HTML () Content
Object Renderer:: remove Bad HTML () std
Wrap. remove Bad HTML
Impact
Using the mentioned method or stdWrap property will trigger a deprecation log entry.
Affected Installations
Instances that use the method or stdWrap property.
Migration
Implement a proper encoding by yourself. Use
htmlspecialchars
or
std
in the context of HTML,
General
or
std
in the context of JavaScript.