Closed GoogleCodeExporter closed 8 years ago
Hi,
You are responsible for the response returned by the server side page so could
you return the same value that is entered(without encoding). This value is only
used for validation.
Regards,
Jovan
Original comment by joc...@gmail.com
on 27 Sep 2011 at 11:02
Original comment by joc...@gmail.com
on 29 Sep 2011 at 6:14
How do we disable the converting of the ampersand to its HTML entity when the
cell is double-clicked?
Original comment by blake.br...@archlearning.com
on 21 Oct 2011 at 5:17
has this issue been resolved?
Original comment by ericdecoff
on 26 Dec 2011 at 4:22
This is my work-a-round:
in jquery.editable.js
above line
content.apply(form, [input_content, settings, self]);
add
// added to replace '&' to '&'
self.revert = self.revert.replace('&','&');
input_content = input_content.replace('&','&');
content.apply(form, [input_content, settings, self]);
in jquery.dataTables.editable.js:
change line in oDefaultEditableSettings:
from
if (sNewCellValue == sValue) {
to
// Ampersand fix
if (sNewCellValue == sValue || sNewCellValue == sValue.replace('&','&')) {
Original comment by ericdecoff
on 26 Dec 2011 at 5:52
Confirming that ericdecoff's workaround fixes this issue for me.
Original comment by ske...@gmail.com
on 20 Apr 2012 at 12:21
I changed ericdecoffs code to
self.revert = self.revert.replace(/&/g,'&');
input_content = input_content.replace(/&/g,'&');
This works for multiple Ampersand's
Original comment by MikeSolo...@googlemail.com
on 29 Oct 2012 at 3:43
Original issue reported on code.google.com by
ourt...@ourtownamerica.com
on 26 Sep 2011 at 7:27