tonytomov / jqGrid

jQuery grid plugin
www.trirand.com
2.84k stars 1.2k forks source link

An escape error was encountered while using autoencode option #1013

Closed HandyCC closed 2 years ago

HandyCC commented 2 years ago

When autoencode option is set to true. The original data is &lt; , which became < after editing.

tonytomov commented 2 years ago

Hello,

This is by default. It is the same as you use any web editor - the data stored in database is encoded, but when you edit it it is decoded.

If your original data is already encoded and you do not want to decode it in editing, just disable the autoencode and when you post, do a manual encoding of the <,>,... and other chars.

HandyCC commented 2 years ago

I misunderstood. Thank you for your reply