fixes issues:
#220 Double encoding.
#120 InPlaceEditBehavior broken