diff --git a/api.php b/api.php index dd2a9bb..ee0769c 100644 --- a/api.php +++ b/api.php @@ -2367,7 +2367,7 @@ class PHP_CRUD_API { if ($i>0) echo ','; echo '{'; echo '"name":"'.$table['name'].'",'; - echo '"description":"'.$table['comments'].'"'; + echo '"description":'.json_encode($table['comments']); echo '}'; } echo '],';