Purifier icon indicating copy to clipboard operation
Purifier copied to clipboard

Post content with HTML editor

Open tomswinkels opened this issue 11 years ago • 1 comments

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' )

tomswinkels avatar Jan 08 '15 10:01 tomswinkels

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.

AJenbo avatar Jan 27 '16 14:01 AJenbo