Skip to content

Commit

Permalink
The quote should have \ and not escaped '
Browse files Browse the repository at this point in the history
  • Loading branch information
ljos committed May 30, 2015
1 parent 9e36dcd commit 4abc52d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ob-prolog.el
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
(cond ((stringp value)
(format "'%s'"
(replace-regexp-in-string
"'" "\'" value)))
"'" "\\'" value)))
((listp value)
(concat "[" (mapconcat #'org-babel-prolog--elisp-to-pl value ", ") "]"))
(t (prin1-to-string value))))
Expand Down

0 comments on commit 4abc52d

Please sign in to comment.