{hero}

fields.entityDecode

Since: Editor 1.5.3

Control the decoding of HTML entities in input elements.
Please note - this property requires the Editor extension for DataTables.

The full Editor reference documentation is available to registered users of Editor - the information shown below is a summary only. If you already have an Editor license please , alternatively an Editor license can be purchased on this site, or sign up for the free trial.

Description

The XSS protection that is built into Editor's PHP and .NET libraries can result in some characters being translated into HTML entities in order to ensure the security of your application. Not all characters will be automatically converted - for example you may wish to allow submission of simple HTML with b and i tags, but anything that is found to be potentially dangerous will be converted.

As a result, the encoded entities need to be converted back to their standard text form which shown in the editing form. This is done automatically by Editor - this option provides the ability to disable that behaviour. Typically it won't be required, but if you wish to show raw HTML entities to your end user, this option should be set to false.