Purifier
Purifier copied to clipboard
Post content with HTML editor
Hi,
When we use a HTML editor and post the content we must use html_entity_decode.
Code: \Purifier::clean( html_entity_decode( \Input::get( 'revision.content' ) ), 'content' )
Please provide more details as to what issue you are experiencing. More then likely the issue is with how you send the content from the editor (duple encoding). Try outputting the input directly and check that it is in fact the correct HTML content.