Fix a potential problem with an editable field.
Fix a potential problem with an editable field.

This is probably best described with an example.

Edit an event and give it a description with some HTML in it. I've been
using an img tag. When the data is submitted it is rendered in the page.
If the page is reloaded it is properly sanitized.

Fix this by returning the sanitized data from the editable call.

For testing I made an event, and gave it a description with img tags in
the event creation form. I then verified that the data is stored in the
database without the HTML entities (eg: <img src ...>). When going to
view the page the tags are converted to the HTML entities and nothing is
rendered in my browser. This is normal behavior and expected.

I then edited the description, and put the HTML back in and upon submission
it would be rendered in the browser. I then put my change in place and
repeated and nothing is rendered. Also, with my change the contents
of the string in the databse is not changed. This is important because some
fields are converted in STIX documents and having the HTML entities would
likely break things.

Magicked/crits,korrosivesec/crits,HardlyHaki/crits,cfossace/crits,davidhdz/crits,cfossace/crits,dreardon/crits,kaoscoach/crits,davidhdz/crits,jhuapl-marti/marti,ckane/crits,0x3a/crits,ckane/crits,lakiw/cripts,kaoscoach/crits,0x3a/crits,kaoscoach/crits,HardlyHaki/crits,ckane/crits,davidhdz/crits,korrosivesec/crits,Lambdanaut/crits,0x3a/crits,cdorer/crits,jinverar/crits,seanthegeek/crits,jinverar/crits,korrosivesec/crits,blaquee/crits,dreardon/crits,lakiw/cripts,cfossace/crits,dreardon/crits,kaoscoach/crits,seanthegeek/crits,Magicked/crits,cdorer/crits,cdorer/crits,Magicked/crits,ckane/crits,cdorer/crits,Lambdanaut/crits,jhuapl-marti/marti,Lambdanaut/crits,davidhdz/crits,HardlyHaki/crits,seanthegeek/crits,HardlyHaki/crits,jinverar/crits,Magicked/crits,Lambdanaut/crits,jhuapl-marti/marti,seanthegeek/crits,korrosivesec/crits,lakiw/cripts,DukeOfHazard/crits,davidhdz/crits,DukeOfHazard/crits,dreardon/crits,DukeOfHazard/crits,jinverar/crits,seanthegeek/crits,blaquee/crits,0x3a/crits,blaquee/crits,cfossace/crits,lakiw/cripts,jhuapl-marti/marti,blaquee/crits,DukeOfHazard/crits