I want to decode html objects using php html_entity_decode (), but my html objects seem to be incompatible with the function.
Example Input String: html_entity_decode('&lt;strong&gt;'); Outputs: <strong>
Removing 'amp;' solves the problem and creates <strong> , but my file has 'amp;' before each html object. Mass removal amp; will probably solve the problem, but also very destructive for html. Is it possible to convert my objects with this situation into an extra amp; in front of all objects?
source share