Skip to content

Commit

Permalink
Use double quotes for PHP values when exporting a PHP array from a gr…
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarbecker committed Nov 24, 2016
1 parent 34e8068 commit 208723e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/exportgrid.pas
Expand Up @@ -451,8 +451,8 @@ function TfrmExportGrid.EscapePHP(Text: String): String;
Result := StringReplace(Result, #13, '\r', [rfReplaceAll]);
Result := StringReplace(Result, #10, '\n', [rfReplaceAll]);
Result := StringReplace(Result, #9, '\t', [rfReplaceAll]);
Result := StringReplace(Result, '''', '\''', [rfReplaceAll]);
Result := '''' + Result + '''';
Result := StringReplace(Result, '"', '\"', [rfReplaceAll]);
Result := '"' + Result + '"';
end;


Expand Down

0 comments on commit 208723e

Please sign in to comment.