That did not work, my page simply rendered /r/n/r/n like that and everything broke.
For anyone interested, in the plugin, esi.cls.php line 549 is the issue:
if (!$silence) {
$output = "<!-- lscwp $wrapper -->$output<!-- lscwp $wrapper esi end -->";
}
Commenting the $output line out fixes a lot of issues.
Ok I can try that, i was able to hack a few things together and get just the JSON to return but I don’t seem to be able to change anything in it, json_decode doesn’t work on it, any ideas?