Skip to content

Commit

Permalink
(action) fix quote
Browse files Browse the repository at this point in the history
  • Loading branch information
Propagram authored Dec 19, 2023
1 parent 5c5079e commit 05b4c20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pgmoon/json.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ encode_json = function(tbl, escape_literal)
local enc
if GetRedbeanVersion then
enc = EncodeJson(tbl)
enc = enc:gsub("\\u0027", "''")
enc = enc:gsub("\\u0027", "'")
else
local json = require("cjson")
enc = json.encode(tbl)
Expand Down
2 changes: 1 addition & 1 deletion pgmoon/json.moon
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ encode_json = (tbl, escape_literal) ->

if GetRedbeanVersion
enc = EncodeJson tbl
enc = enc\gsub "\\u0027", "''"
enc = enc\gsub "\\u0027", "'"
else
json = require "cjson"
enc = json.encode tbl
Expand Down

0 comments on commit 05b4c20

Please sign in to comment.